diff options
author | Ming Lei <ming.lei@redhat.com> | 2019-02-15 19:13:17 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-02-15 08:40:11 -0700 |
commit | 86af5952a8470f96b53830372c64469cb7ce780c (patch) | |
tree | 073d8c2173109a8a05bdbb7963d70e29d36c854e /drivers/md | |
parent | c3a7ce738009912f9d237bdabf4a20038522de10 (diff) |
block: loop: pass multi-page bvec to iov_iter
iov_iter is implemented on bvec itererator helpers, so it is safe to pass
multi-page bvec to it, and this way is much more efficient than passing one
page in each bvec.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions