diff options
author | 2023-01-18 17:37:19 +0800 | |
---|---|---|
committer | 2023-02-06 09:22:28 -0700 | |
commit | 34c9f547402f11c0241a44800574ec4fa38cccb8 (patch) | |
tree | ac1946ada6396037860a015d9918eac7ff77878f /scripts/generate_rust_analyzer.py | |
parent | blk-mq: remove unncessary from_schedule parameter in blk_mq_plug_issue_direct (diff) | |
download | linux-rng-34c9f547402f11c0241a44800574ec4fa38cccb8.tar.xz linux-rng-34c9f547402f11c0241a44800574ec4fa38cccb8.zip |
blk-mq: make blk_mq_commit_rqs a general function for all commits
1. move blk_mq_commit_rqs forward before functions need commits.
2. add queued check and only commits request if any request was queued
in blk_mq_commit_rqs to keep commit behavior consistent and remove
unnecessary commit.
3. split the queued clearing from blk_mq_plug_commit_rqs as it is
not wanted general.
4. sync current caller of blk_mq_commit_rqs with new general
blk_mq_commit_rqs.
5. document rule for unusual cases which need explicit commit_rqs.
Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions