diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-11-26 17:53:23 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-26 17:53:23 +0100 |
commit | 98b26a0e766724957b48301e3a6f7093a142d54b (patch) | |
tree | 87754c43f23723f833af82b557c1ddbae8493314 /drivers/block | |
parent | block: fix parameter not described warning (diff) | |
download | linux-98b26a0e766724957b48301e3a6f7093a142d54b.tar.xz linux-98b26a0e766724957b48301e3a6f7093a142d54b.zip |
block: call rq_qos_done() before ref check in batch completions
We need to call rq_qos_done() regardless of whether or not we're freeing
the request or not, as the reference count doesn't cover the IO completion
tracking.
Fixes: f794f3351f26 ("block: add support for blk_mq_end_request_batch()")
Reported-by: Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Reported-by: Kenneth R. Crudup <kenny@panix.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions