diff options
author | Kemeng Shi <[email protected]> | 2023-01-18 17:37:19 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-02-06 09:22:28 -0700 |
commit | 34c9f547402f11c0241a44800574ec4fa38cccb8 (patch) | |
tree | ac1946ada6396037860a015d9918eac7ff77878f /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 3e368fb023ffab83404f628d02789550d79eca9c (diff) |
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 <[email protected]>
Signed-off-by: Kemeng Shi <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions