diff options
author | Chengming Zhou <zhouchengming@bytedance.com> | 2023-09-13 18:16:13 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-09-22 17:52:13 +0300 |
commit | 48554df6bf2b1e83f70749bf4b4d7914f8b3c01d (patch) | |
tree | 980a356f55069859553e6a4dc96e05f55faaff56 /block/blk-mq-debugfs.c | |
parent | b8643d682669994b3f57c3440df3d4f9cb735f35 (diff) | |
download | linux-48554df6bf2b1e83f70749bf4b4d7914f8b3c01d.tar.xz |
blk-mq: remove RQF_MQ_INFLIGHT
Since the previous patch change to only account active requests when
we really allocate the driver tag, the RQF_MQ_INFLIGHT can be removed
and no double account problem.
1. none elevator: flush request will use the first pending request's
driver tag, won't double account.
2. other elevator: flush request will be accounted when allocate driver
tag when issue, and will be unaccounted when it put the driver tag.
Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20230913151616.3164338-3-chengming.zhou@linux.dev
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-debugfs.c')
-rw-r--r-- | block/blk-mq-debugfs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c index c3b5930106b2..5cbeb9344f2f 100644 --- a/block/blk-mq-debugfs.c +++ b/block/blk-mq-debugfs.c @@ -246,7 +246,6 @@ static const char *const rqf_name[] = { RQF_NAME(STARTED), RQF_NAME(FLUSH_SEQ), RQF_NAME(MIXED_MERGE), - RQF_NAME(MQ_INFLIGHT), RQF_NAME(DONTPREP), RQF_NAME(SCHED_TAGS), RQF_NAME(USE_SCHED), |