diff options
author | Christoph Hellwig <hch@lst.de> | 2021-10-20 16:41:16 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-20 09:56:11 -0600 |
commit | a214b949d8e365583dd67441f6f608f0b20f7f52 (patch) | |
tree | 735f1957e2dd7b2abb300351bb25593a066c2751 /block/blk-mq.h | |
parent | 037057a5a979c7eeb2ee5d12cf4c24b805192c75 (diff) | |
download | linux-a214b949d8e365583dd67441f6f608f0b20f7f52.tar.gz linux-a214b949d8e365583dd67441f6f608f0b20f7f52.tar.bz2 linux-a214b949d8e365583dd67441f6f608f0b20f7f52.zip |
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 <hch@lst.de>
Link: https://lore.kernel.org/r/20211020144119.142582-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.h')
0 files changed, 0 insertions, 0 deletions