]> Git Repo - linux.git/commit
blk-mq: only flush requests from the plug in blk_mq_submit_bio
authorChristoph Hellwig <[email protected]>
Wed, 20 Oct 2021 14:41:16 +0000 (16:41 +0200)
committerJens Axboe <[email protected]>
Wed, 20 Oct 2021 15:56:11 +0000 (09:56 -0600)
commita214b949d8e365583dd67441f6f608f0b20f7f52
tree735f1957e2dd7b2abb300351bb25593a066c2751
parent037057a5a979c7eeb2ee5d12cf4c24b805192c75
blk-mq: only flush requests from the plug in blk_mq_submit_bio

Replace the call to blk_flush_plug_list in blk_mq_submit_bio with a
direct call to blk_mq_flush_plug_list.  This means we do not flush
plug callback from stackable devices, which doesn't really help with
the accumulated requests anyway, and it also means the cached requests
aren't freed here as they can still be used later on.

Signed-off-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
block/blk-mq.c
This page took 0.05202 seconds and 4 git commands to generate.