diff options
author | Ming Lei <ming.lei@redhat.com> | 2020-06-30 12:24:57 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-06-30 15:51:48 +0200 |
commit | 445874e89f662c8c6a56e6bb820cbe9fbef61428 (patch) | |
tree | 9bd7fd755f9b0dcc528ac5887689e56aadfb3ad2 /scripts | |
parent | blk-mq: pass request queue into get/put budget callback (diff) | |
download | linux-445874e89f662c8c6a56e6bb820cbe9fbef61428.tar.xz linux-445874e89f662c8c6a56e6bb820cbe9fbef61428.zip |
blk-mq: pass hctx to blk_mq_dispatch_rq_list
All requests in the 'list' of blk_mq_dispatch_rq_list belong to same
hctx, so it is better to pass hctx instead of request queue, because
blk-mq's dispatch target is hctx instead of request queue.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Tested-by: Baolin Wang <baolin.wang7@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Cc: Sagi Grimberg <sagi@grimberg.me>
Cc: Baolin Wang <baolin.wang7@gmail.com>
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions