diff options
author | Ming Lei <ming.lei@redhat.com> | 2020-06-30 22:03:57 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-06-30 12:57:59 -0600 |
commit | 37f4a24c2469a10a4c16c641671bd766e276cf9f (patch) | |
tree | dfc8b59c211c73499b74e0c176fba2ae157042cf /drivers | |
parent | 723bf178f158abd1ce6069cb049581b3cb003aab (diff) | |
download | linux-37f4a24c2469a10a4c16c641671bd766e276cf9f.tar.gz linux-37f4a24c2469a10a4c16c641671bd766e276cf9f.tar.bz2 linux-37f4a24c2469a10a4c16c641671bd766e276cf9f.zip |
blk-mq: centralise related handling into blk_mq_get_driver_tag
Move .nr_active update and request assignment into blk_mq_get_driver_tag(),
all are good to do during getting driver tag.
Meantime blk-flush related code is simplified and flush request needn't
to update the request table manually any more.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions