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 18:17:20 -07:00
2020-08-23 17:36:59 -05:00
2020-08-18 07:48:08 -07:00
2021-01-24 18:19:46 -07:00
2020-08-18 07:48:08 -07:00
2021-01-24 18:20:47 -07:00
2021-01-24 18:17:20 -07:00
2021-01-25 08:58:24 -07:00
2019-11-07 12:28:13 -07:00
2019-11-07 12:28:13 -07:00
2021-01-24 18:17:20 -07:00
2021-01-24 21:22:45 -07:00
2021-01-24 18:17:20 -07:00
2020-10-05 10:47:43 -06:00
2021-01-24 18:17:20 -07:00
2021-01-24 21:52:39 -07:00
2020-12-16 12:57:51 -08:00
2020-10-06 07:29:53 -06:00
2020-07-16 10:22:15 -06:00
2021-01-05 11:33:32 -07:00
2020-10-08 07:59:48 -06:00
2020-12-01 14:53:40 -07:00
2020-09-23 09:18:39 -06:00
2021-01-24 18:17:20 -07:00
2020-10-20 07:08:17 -06:00
2019-01-17 21:21:40 -07:00
2021-01-10 12:53:08 -08:00
2019-06-13 03:00:30 -06:00
2019-05-31 15:12:34 -06:00
2019-05-31 15:12:34 -06:00
2020-12-04 09:42:00 -07:00
2020-10-13 12:12:44 -07:00
2020-10-09 12:46:28 -06:00
2020-09-29 08:11:00 -06:00
2020-09-03 15:20:47 -06:00
2020-03-17 20:55:21 +01:00
2021-01-24 18:19:46 -07:00
2020-12-12 11:13:41 -07:00
2020-12-09 11:41:41 -05:00
2020-12-09 11:41:42 -05:00
2020-07-15 09:33:37 -06:00
2019-10-15 10:13:13 -06:00
2021-01-24 18:17:20 -07:00
2020-09-01 16:48:46 -06:00
2018-12-12 06:47:51 -07:00
2020-10-09 12:46:28 -06:00
2021-01-24 18:17:20 -07:00
2020-07-31 16:29:47 -06:00
2020-11-30 15:01:18 -07:00
2020-05-29 16:30:39 -06:00
2020-12-07 17:34:21 -07:00
2021-01-24 21:24:06 -07:00
2021-01-24 18:17:20 -07:00
2020-09-23 09:18:13 -06:00
2021-01-24 21:52:39 -07:00
2017-11-02 11:10:55 +01:00
2020-10-09 12:34:06 -06:00
2021-01-24 18:17:20 -07:00
2020-12-01 14:53:40 -07:00
2020-09-01 19:38:33 -06:00
2020-09-01 16:49:26 -06:00
2020-06-14 01:57:21 +09:00
2020-11-20 11:52:52 -07:00
2021-01-24 18:19:46 -07:00
2020-06-24 09:15:56 -06:00
2021-01-24 18:19:46 -07:00
2020-03-12 08:00:10 -06:00
2021-01-24 21:52:39 -07:00
2020-03-12 08:00:10 -06:00
2020-01-06 20:59:04 -07:00