]> git.baikalelectronics.ru Git - kernel.git/commit
block: don't call part_{inc,dec}_in_flight for blk-mq devices
authorChristoph Hellwig <hch@lst.de>
Wed, 13 May 2020 10:49:34 +0000 (12:49 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 May 2020 15:35:24 +0000 (09:35 -0600)
commit6af36fe994a54c1c777f42f3ffb6f54e832f9f94
treecdb87416f6b127b8dbddd9e4cf4727af5e0463ff
parent4d2babea9fb8e50cb756088ae929c72d5613135a
block: don't call part_{inc,dec}_in_flight for blk-mq devices

part_inc_in_flight and part_dec_in_flight are no-ops for blk-mq queues,
so remove the calls in purely blk-mq callers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-merge.c