block: don't plug in blkdev_write_iter
authorChristoph Hellwig <hch@lst.de>
Sat, 20 May 2023 04:45:03 +0000 (06:45 +0200)
committerJens Axboe <axboe@kernel.dk>
Sat, 20 May 2023 11:42:41 +0000 (05:42 -0600)
commit712c7364655f69827d0b96f69594886ecbfb412f
tree63f72f900a3b51cf043b0c8fd21648d9ebbeabf2
parentf80dd11dd1d07ada04a9fcd57032fa82e136462d
block: don't plug in blkdev_write_iter

For direct I/O writes that issues more than a single bio, the plugging
is already done in __blkdev_direct_IO.
For synchronous buffered writes the plugging is done deep down in
writeback_inodes_wb / wb_writeback.

For the other cases there is no point in plugging as as single bio or no
bio at all is submitted.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230520044503.334444-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/fops.c