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)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Apr 2023 12:52:29 +0000 (06:52 -0600)
commit50947d7fe9fa6abe3ddc40769dfb02a51c58edb6
tree9cf4d97ef0e56ca3512ef6821558acb7c9f01ce7
parent8e15dfbd9ae21e518979e3823e335073e725f445
blk-mq: don't plug for head insertions in blk_execute_rq_nowait

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

Fixes: 1c2d2fff6dc0 ("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>
block/blk-mq.c