linux/Documentation
Pavel Begunkov c42bca92be bio: don't copy bvec for direct IO
The block layer spends quite a while in blkdev_direct_IO() to copy and
initialise bio's bvec. However, if we've already got a bvec in the input
iterator it might be reused in some cases, i.e. when new
ITER_BVEC_FLAG_FIXED flag is set. Simple tests show considerable
performance boost, and it also reduces memory footprint.

Suggested-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-01-25 08:58:24 -07:00
..
2021-01-24 11:05:48 -08:00
2020-12-22 13:34:27 -08:00
2020-12-20 10:44:05 -08:00
2021-01-24 11:02:01 -08:00
2020-12-20 10:12:06 -08:00
2020-12-22 13:34:27 -08:00
2020-11-18 11:51:58 +01:00
2020-12-02 22:10:37 -08:00
2020-12-07 08:35:21 -07:00
2021-01-13 11:55:14 -08:00
2020-12-22 14:02:39 -08:00
2020-12-08 23:30:04 +09:00
2020-12-22 14:02:39 -08:00
2020-12-15 13:22:29 -08:00
2021-01-08 05:02:40 -05:00