]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove blk_needs_flush_plug
authorChristoph Hellwig <hch@lst.de>
Thu, 27 Jan 2022 07:05:48 +0000 (08:05 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Feb 2022 14:50:00 +0000 (07:50 -0700)
commit12ba1f275b445254c79cc61ab24d99636786b63d
treefcff061e1287d6748551cadc3346aa43ba2ca2d7
parent8509b26447aa73636800cddafad2c12b5165c00e
block: remove blk_needs_flush_plug

blk_needs_flush_plug fails to account for the cb_list, which needs
flushing as well.  Remove it and just check if there is a plug instead
of poking into the internals of the plug structure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220127070549.1377856-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/fs-writeback.c
include/linux/blkdev.h
kernel/exit.c
kernel/sched/core.c