]> Git Repo - linux.git/commit
block: allow bio_for_each_segment_all() to iterate over multi-page bvec
authorMing Lei <[email protected]>
Fri, 15 Feb 2019 11:13:19 +0000 (19:13 +0800)
committerJens Axboe <[email protected]>
Fri, 15 Feb 2019 15:40:11 +0000 (08:40 -0700)
commit6dc4f100c175dd0511ae8674786e7c9006cdfbfa
treeb8e5204ca6eec1275187496f2d6c069643e478dc
parent2e1f4f4d2481d8bf111904c3e45fc0c4c94bf76e
block: allow bio_for_each_segment_all() to iterate over multi-page bvec

This patch introduces one extra iterator variable to bio_for_each_segment_all(),
then we can allow bio_for_each_segment_all() to iterate over multi-page bvec.

Given it is just one mechannical & simple change on all bio_for_each_segment_all()
users, this patch does tree-wide change in one single patch, so that we can
avoid to use a temporary helper for this conversion.

Reviewed-by: Omar Sandoval <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
27 files changed:
block/bio.c
block/bounce.c
drivers/md/bcache/btree.c
drivers/md/dm-crypt.c
drivers/md/raid1.c
drivers/staging/erofs/data.c
drivers/staging/erofs/unzip_vle.c
fs/block_dev.c
fs/btrfs/compression.c
fs/btrfs/disk-io.c
fs/btrfs/extent_io.c
fs/btrfs/inode.c
fs/btrfs/raid56.c
fs/crypto/bio.c
fs/direct-io.c
fs/exofs/ore.c
fs/exofs/ore_raid.c
fs/ext4/page-io.c
fs/ext4/readpage.c
fs/f2fs/data.c
fs/gfs2/lops.c
fs/gfs2/meta_io.c
fs/iomap.c
fs/mpage.c
fs/xfs/xfs_aops.c
include/linux/bio.h
include/linux/bvec.h
This page took 0.086595 seconds and 4 git commands to generate.