Skip to content
Commit b600455d authored by Pavel Begunkov's avatar Pavel Begunkov Committed by Jens Axboe
Browse files

block: optimise blk_flush_plug_list



Don't call flush_plug_callbacks if there are no plug callbacks.

Signed-off-by: default avatarPavel Begunkov <asml.silence@gmail.com>
[hch: split from a larger patch]
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211020144119.142582-4-hch@lst.de
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent dbb6f764
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment