]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: don't plug for head insertions in blk_execute_rq_nowait
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Apr 2023 06:40:38 +0000 (08:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:03:22 +0000 (23:03 +0900)
commit98ec119a7ef4ddb5257ef3de7ccb83010aa333ef
treeee5d89cd513b151a0c2dcb0a2772e06ab2a18582
parentc04779eeb6c9610bdc0c69a92b94525a58cf2634
blk-mq: don't plug for head insertions in blk_execute_rq_nowait

[ Upstream commit 50947d7fe9fa6abe3ddc40769dfb02a51c58edb6 ]

Plugs never insert at head, so don't plug for head insertions.

Fixes: 49ecbfc017d6 ("block: wire-up support for passthrough plugging")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20230413064057.707578-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
block/blk-mq.c