summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_em86.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2019-02-15 12:13:17 +0100
committerJens Axboe <axboe@kernel.dk>2019-02-15 16:40:11 +0100
commit86af5952a8470f96b53830372c64469cb7ce780c (patch)
tree073d8c2173109a8a05bdbb7963d70e29d36c854e /fs/binfmt_em86.c
parentbtrfs: use mp_bvec_last_segment to get bio's last page (diff)
downloadlinux-86af5952a8470f96b53830372c64469cb7ce780c.tar.xz
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 'fs/binfmt_em86.c')
0 files changed, 0 insertions, 0 deletions