aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/bio.h
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2019-02-15 19:13:17 +0800
committerJens Axboe <axboe@kernel.dk>2019-02-15 08:40:11 -0700
commit86af5952a8470f96b53830372c64469cb7ce780c (patch)
tree073d8c2173109a8a05bdbb7963d70e29d36c854e /include/linux/bio.h
parentbtrfs: use mp_bvec_last_segment to get bio's last page (diff)
downloadwireguard-linux-86af5952a8470f96b53830372c64469cb7ce780c.tar.xz
wireguard-linux-86af5952a8470f96b53830372c64469cb7ce780c.zip
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 'include/linux/bio.h')
0 files changed, 0 insertions, 0 deletions