Hi, 在 2025/09/08 18:56, Christoph Hellwig 写道:
Just a simpler wrapper around bio_init for callers that want to initialize a bio with inline bvecs. Signed-off-by: Christoph Hellwig<hch@xxxxxx> --- block/bio.c | 7 +++++-- block/blk-crypto-fallback.c | 3 +-- block/blk-map.c | 8 ++++---- drivers/md/bcache/debug.c | 3 +-- drivers/md/bcache/io.c | 3 +-- drivers/md/bcache/journal.c | 2 +- drivers/md/bcache/movinggc.c | 2 +- drivers/md/bcache/super.c | 2 +- drivers/md/bcache/writeback.c | 2 +- drivers/md/dm-bufio.c | 2 +- drivers/md/dm-flakey.c | 2 +- drivers/md/raid1.c | 2 +- drivers/md/raid10.c | 4 ++-- drivers/target/target_core_pscsi.c | 2 +- fs/bcachefs/btree_io.c | 2 +- fs/bcachefs/journal.c | 2 +- fs/bcachefs/journal_io.c | 2 +- fs/bcachefs/super-io.c | 2 +- fs/squashfs/block.c | 2 +- include/linux/bio.h | 5 +++++ 20 files changed, 32 insertions(+), 27 deletions(-)
For raid1 and raid10 Reviewed-by: Yu Kuai <yukuai3@xxxxxxxxxx> Thanks