diff options
author | Yufen Yu <yuyufen@huawei.com> | 2020-10-09 06:26:33 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-09 21:35:39 +0300 |
commit | c728152413312de6c95731a845d30c9ae735d656 (patch) | |
tree | 0a5e0f4255a52e681d3137353bf14c01b79950db /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0546858c59fb90122ca8c820e6aa221925a13bd8 (diff) | |
download | linux-c728152413312de6c95731a845d30c9ae735d656.tar.xz |
blk-mq: get rid of the dead flush handle code path
After commit 923218f6166a ("blk-mq: don't allocate driver tag upfront
for flush rq"), blk_mq_submit_bio() will call blk_insert_flush()
directly to handle flush request rather than blk_mq_sched_insert_request()
in the case of elevator.
Then, all flush request either have set RQF_FLUSH_SEQ flag when call
blk_mq_sched_insert_request(), or have inserted into hctx->dispatch.
So, remove the dead code path.
Signed-off-by: Yufen Yu <yuyufen@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions