* simple file system cleanups for the new bio_alloc calling conventions
@ 2022-02-22 15:46 Christoph Hellwig
2022-02-22 15:46 ` [PATCH 1/3] mpage: pass the operation to bio_alloc Christoph Hellwig
` (3 more replies)
0 siblings, 4 replies; 11+ messages in thread
From: Christoph Hellwig @ 2022-02-22 15:46 UTC (permalink / raw)
To: Jens Axboe, Theodore Ts'o, Ryusuke Konishi
Cc: Andrew Morton, linux-block, linux-ext4, linux-fsdevel,
linux-nilfs
Hi all,
this fixes up the remaining fairly trivial file system bio alloctions to
directly pass the bdev to bio_alloc. f2fs and btrfs will need more work and
will be handled separately.
This is against Jens' for-5.18/block branch. It would probably make sense to
also merge it through that.
Diffstat:
ext4/page-io.c | 7 +++----
mpage.c | 50 +++++++++++++++++++++-----------------------------
nilfs2/segbuf.c | 20 +++++++++-----------
3 files changed, 33 insertions(+), 44 deletions(-)
^ permalink raw reply [flat|nested] 11+ messages in thread* [PATCH 1/3] mpage: pass the operation to bio_alloc 2022-02-22 15:46 simple file system cleanups for the new bio_alloc calling conventions Christoph Hellwig @ 2022-02-22 15:46 ` Christoph Hellwig 2022-02-22 15:46 ` [PATCH 2/3] ext4: " Christoph Hellwig ` (2 subsequent siblings) 3 siblings, 0 replies; 11+ messages in thread From: Christoph Hellwig @ 2022-02-22 15:46 UTC (permalink / raw) To: Jens Axboe, Theodore Ts'o, Ryusuke Konishi Cc: Andrew Morton, linux-block, linux-ext4, linux-fsdevel, linux-nilfs Refactor the mpage read/write page code to pass the op to bio_alloc instead of setting it just before the submission. Signed-off-by: Christoph Hellwig <hch@lst.de> --- fs/mpage.c | 50 +++++++++++++++++++++----------------------------- 1 file changed, 21 insertions(+), 29 deletions(-) diff --git a/fs/mpage.c b/fs/mpage.c index dbfc02e23d97f..6c4b810a21d0a 100644 --- a/fs/mpage.c +++ b/fs/mpage.c @@ -57,10 +57,9 @@ static void mpage_end_io(struct bio *bio) bio_put(bio); } -static struct bio *mpage_bio_submit(int op, int op_flags, struct bio *bio) +static struct bio *mpage_bio_submit(struct bio *bio) { bio->bi_end_io = mpage_end_io; - bio_set_op_attrs(bio, op, op_flags); guard_bio_eod(bio); submit_bio(bio); return NULL; @@ -146,16 +145,15 @@ static struct bio *do_mpage_readpage(struct mpage_readpage_args *args) struct block_device *bdev = NULL; int length; int fully_mapped = 1; - int op_flags; + int op = REQ_OP_READ; unsigned nblocks; unsigned relative_block; gfp_t gfp; if (args->is_readahead) { - op_flags = REQ_RAHEAD; + op |= REQ_RAHEAD; gfp = readahead_gfp_mask(page->mapping); } else { - op_flags = 0; gfp = mapping_gfp_constraint(page->mapping, GFP_KERNEL); } @@ -264,7 +262,7 @@ static struct bio *do_mpage_readpage(struct mpage_readpage_args *args) * This page will go to BIO. Do we need to send this BIO off first? */ if (args->bio && (args->last_block_in_bio != blocks[0] - 1)) - args->bio = mpage_bio_submit(REQ_OP_READ, op_flags, args->bio); + args->bio = mpage_bio_submit(args->bio); alloc_new: if (args->bio == NULL) { @@ -273,7 +271,7 @@ static struct bio *do_mpage_readpage(struct mpage_readpage_args *args) page)) goto out; } - args->bio = bio_alloc(bdev, bio_max_segs(args->nr_pages), 0, + args->bio = bio_alloc(bdev, bio_max_segs(args->nr_pages), op, gfp); if (args->bio == NULL) goto confused; @@ -282,7 +280,7 @@ static struct bio *do_mpage_readpage(struct mpage_readpage_args *args) length = first_hole << blkbits; if (bio_add_page(args->bio, page, length, 0) < length) { - args->bio = mpage_bio_submit(REQ_OP_READ, op_flags, args->bio); + args->bio = mpage_bio_submit(args->bio); goto alloc_new; } @@ -290,7 +288,7 @@ static struct bio *do_mpage_readpage(struct mpage_readpage_args *args) nblocks = map_bh->b_size >> blkbits; if ((buffer_boundary(map_bh) && relative_block == nblocks) || (first_hole != blocks_per_page)) - args->bio = mpage_bio_submit(REQ_OP_READ, op_flags, args->bio); + args->bio = mpage_bio_submit(args->bio); else args->last_block_in_bio = blocks[blocks_per_page - 1]; out: @@ -298,7 +296,7 @@ static struct bio *do_mpage_readpage(struct mpage_readpage_args *args) confused: if (args->bio) - args->bio = mpage_bio_submit(REQ_OP_READ, op_flags, args->bio); + args->bio = mpage_bio_submit(args->bio); if (!PageUptodate(page)) block_read_full_page(page, args->get_block); else @@ -361,7 +359,7 @@ void mpage_readahead(struct readahead_control *rac, get_block_t get_block) put_page(page); } if (args.bio) - mpage_bio_submit(REQ_OP_READ, REQ_RAHEAD, args.bio); + mpage_bio_submit(args.bio); } EXPORT_SYMBOL(mpage_readahead); @@ -378,7 +376,7 @@ int mpage_readpage(struct page *page, get_block_t get_block) args.bio = do_mpage_readpage(&args); if (args.bio) - mpage_bio_submit(REQ_OP_READ, 0, args.bio); + mpage_bio_submit(args.bio); return 0; } EXPORT_SYMBOL(mpage_readpage); @@ -469,7 +467,6 @@ static int __mpage_writepage(struct page *page, struct writeback_control *wbc, struct buffer_head map_bh; loff_t i_size = i_size_read(inode); int ret = 0; - int op_flags = wbc_to_write_flags(wbc); if (page_has_buffers(page)) { struct buffer_head *head = page_buffers(page); @@ -577,7 +574,7 @@ static int __mpage_writepage(struct page *page, struct writeback_control *wbc, * This page will go to BIO. Do we need to send this BIO off first? */ if (bio && mpd->last_block_in_bio != blocks[0] - 1) - bio = mpage_bio_submit(REQ_OP_WRITE, op_flags, bio); + bio = mpage_bio_submit(bio); alloc_new: if (bio == NULL) { @@ -586,9 +583,10 @@ static int __mpage_writepage(struct page *page, struct writeback_control *wbc, page, wbc)) goto out; } - bio = bio_alloc(bdev, BIO_MAX_VECS, 0, GFP_NOFS); + bio = bio_alloc(bdev, BIO_MAX_VECS, + REQ_OP_WRITE | wbc_to_write_flags(wbc), + GFP_NOFS); bio->bi_iter.bi_sector = blocks[0] << (blkbits - 9); - wbc_init_bio(wbc, bio); bio->bi_write_hint = inode->i_write_hint; } @@ -601,7 +599,7 @@ static int __mpage_writepage(struct page *page, struct writeback_control *wbc, wbc_account_cgroup_owner(wbc, page, PAGE_SIZE); length = first_unmapped << blkbits; if (bio_add_page(bio, page, length, 0) < length) { - bio = mpage_bio_submit(REQ_OP_WRITE, op_flags, bio); + bio = mpage_bio_submit(bio); goto alloc_new; } @@ -611,7 +609,7 @@ static int __mpage_writepage(struct page *page, struct writeback_control *wbc, set_page_writeback(page); unlock_page(page); if (boundary || (first_unmapped != blocks_per_page)) { - bio = mpage_bio_submit(REQ_OP_WRITE, op_flags, bio); + bio = mpage_bio_submit(bio); if (boundary_block) { write_boundary_block(boundary_bdev, boundary_block, 1 << blkbits); @@ -623,7 +621,7 @@ static int __mpage_writepage(struct page *page, struct writeback_control *wbc, confused: if (bio) - bio = mpage_bio_submit(REQ_OP_WRITE, op_flags, bio); + bio = mpage_bio_submit(bio); if (mpd->use_writepage) { ret = mapping->a_ops->writepage(page, wbc); @@ -679,11 +677,8 @@ mpage_writepages(struct address_space *mapping, }; ret = write_cache_pages(mapping, wbc, __mpage_writepage, &mpd); - if (mpd.bio) { - int op_flags = (wbc->sync_mode == WB_SYNC_ALL ? - REQ_SYNC : 0); - mpage_bio_submit(REQ_OP_WRITE, op_flags, mpd.bio); - } + if (mpd.bio) + mpage_bio_submit(mpd.bio); } blk_finish_plug(&plug); return ret; @@ -700,11 +695,8 @@ int mpage_writepage(struct page *page, get_block_t get_block, .use_writepage = 0, }; int ret = __mpage_writepage(page, wbc, &mpd); - if (mpd.bio) { - int op_flags = (wbc->sync_mode == WB_SYNC_ALL ? - REQ_SYNC : 0); - mpage_bio_submit(REQ_OP_WRITE, op_flags, mpd.bio); - } + if (mpd.bio) + mpage_bio_submit(mpd.bio); return ret; } EXPORT_SYMBOL(mpage_writepage); -- 2.30.2 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 2/3] ext4: pass the operation to bio_alloc 2022-02-22 15:46 simple file system cleanups for the new bio_alloc calling conventions Christoph Hellwig 2022-02-22 15:46 ` [PATCH 1/3] mpage: pass the operation to bio_alloc Christoph Hellwig @ 2022-02-22 15:46 ` Christoph Hellwig 2022-02-25 22:07 ` Theodore Ts'o 2022-02-22 15:46 ` Christoph Hellwig 2022-02-26 14:18 ` Jens Axboe 3 siblings, 1 reply; 11+ messages in thread From: Christoph Hellwig @ 2022-02-22 15:46 UTC (permalink / raw) To: Jens Axboe, Theodore Ts'o, Ryusuke Konishi Cc: Andrew Morton, linux-block, linux-ext4, linux-fsdevel, linux-nilfs Refactor the readpage code to pass the op to bio_alloc instead of setting it just before the submission. Signed-off-by: Christoph Hellwig <hch@lst.de> --- fs/ext4/page-io.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c index 1253982268730..35ada7baf41e5 100644 --- a/fs/ext4/page-io.c +++ b/fs/ext4/page-io.c @@ -372,10 +372,9 @@ void ext4_io_submit(struct ext4_io_submit *io) struct bio *bio = io->io_bio; if (bio) { - int io_op_flags = io->io_wbc->sync_mode == WB_SYNC_ALL ? - REQ_SYNC : 0; + if (io->io_wbc->sync_mode == WB_SYNC_ALL) + io->io_bio->bi_opf |= REQ_SYNC; io->io_bio->bi_write_hint = io->io_end->inode->i_write_hint; - bio_set_op_attrs(io->io_bio, REQ_OP_WRITE, io_op_flags); submit_bio(io->io_bio); } io->io_bio = NULL; @@ -398,7 +397,7 @@ static void io_submit_init_bio(struct ext4_io_submit *io, * bio_alloc will _always_ be able to allocate a bio if * __GFP_DIRECT_RECLAIM is set, see comments for bio_alloc_bioset(). */ - bio = bio_alloc(bh->b_bdev, BIO_MAX_VECS, 0, GFP_NOIO); + bio = bio_alloc(bh->b_bdev, BIO_MAX_VECS, REQ_OP_WRITE, GFP_NOIO); fscrypt_set_bio_crypt_ctx_bh(bio, bh, GFP_NOIO); bio->bi_iter.bi_sector = bh->b_blocknr * (bh->b_size >> 9); bio->bi_end_io = ext4_end_bio; -- 2.30.2 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 2/3] ext4: pass the operation to bio_alloc @ 2022-02-25 22:07 ` Theodore Ts'o 0 siblings, 0 replies; 11+ messages in thread From: Theodore Ts'o @ 2022-02-25 22:07 UTC (permalink / raw) To: Christoph Hellwig Cc: Jens Axboe, Ryusuke Konishi, Andrew Morton, linux-block, linux-ext4, linux-fsdevel, linux-nilfs On Tue, Feb 22, 2022 at 04:46:33PM +0100, Christoph Hellwig wrote: > Refactor the readpage code to pass the op to bio_alloc instead of setting > it just before the submission. > > Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Theodore Ts'o <tytso@mit.edu> ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/3] ext4: pass the operation to bio_alloc @ 2022-02-25 22:07 ` Theodore Ts'o 0 siblings, 0 replies; 11+ messages in thread From: Theodore Ts'o @ 2022-02-25 22:07 UTC (permalink / raw) To: Christoph Hellwig Cc: Jens Axboe, Ryusuke Konishi, Andrew Morton, linux-block-u79uwXL29TY76Z2rM5mHXA, linux-ext4-u79uwXL29TY76Z2rM5mHXA, linux-fsdevel-u79uwXL29TY76Z2rM5mHXA, linux-nilfs-u79uwXL29TY76Z2rM5mHXA On Tue, Feb 22, 2022 at 04:46:33PM +0100, Christoph Hellwig wrote: > Refactor the readpage code to pass the op to bio_alloc instead of setting > it just before the submission. > > Signed-off-by: Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org> Acked-by: Theodore Ts'o <tytso-3s7WtUTddSA@public.gmane.org> ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 3/3] nilfs2: pass the operation to bio_alloc @ 2022-02-22 15:46 ` Christoph Hellwig 0 siblings, 0 replies; 11+ messages in thread From: Christoph Hellwig @ 2022-02-22 15:46 UTC (permalink / raw) To: Jens Axboe, Theodore Ts'o, Ryusuke Konishi Cc: Andrew Morton, linux-block, linux-ext4, linux-fsdevel, linux-nilfs Refactor the segbuf write code to pass the op to bio_alloc instead of setting it just before the submission. Signed-off-by: Christoph Hellwig <hch@lst.de> --- fs/nilfs2/segbuf.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/fs/nilfs2/segbuf.c b/fs/nilfs2/segbuf.c index 4f71faacd8253..a3bb0c856ec80 100644 --- a/fs/nilfs2/segbuf.c +++ b/fs/nilfs2/segbuf.c @@ -337,8 +337,7 @@ static void nilfs_end_bio_write(struct bio *bio) } static int nilfs_segbuf_submit_bio(struct nilfs_segment_buffer *segbuf, - struct nilfs_write_info *wi, int mode, - int mode_flags) + struct nilfs_write_info *wi) { struct bio *bio = wi->bio; int err; @@ -356,7 +355,6 @@ static int nilfs_segbuf_submit_bio(struct nilfs_segment_buffer *segbuf, bio->bi_end_io = nilfs_end_bio_write; bio->bi_private = segbuf; - bio_set_op_attrs(bio, mode, mode_flags); submit_bio(bio); segbuf->sb_nbio++; @@ -384,15 +382,15 @@ static void nilfs_segbuf_prepare_write(struct nilfs_segment_buffer *segbuf, static int nilfs_segbuf_submit_bh(struct nilfs_segment_buffer *segbuf, struct nilfs_write_info *wi, - struct buffer_head *bh, int mode) + struct buffer_head *bh) { int len, err; BUG_ON(wi->nr_vecs <= 0); repeat: if (!wi->bio) { - wi->bio = bio_alloc(wi->nilfs->ns_bdev, wi->nr_vecs, 0, - GFP_NOIO); + wi->bio = bio_alloc(wi->nilfs->ns_bdev, wi->nr_vecs, + REQ_OP_WRITE, GFP_NOIO); wi->bio->bi_iter.bi_sector = (wi->blocknr + wi->end) << (wi->nilfs->ns_blocksize_bits - 9); } @@ -403,7 +401,7 @@ static int nilfs_segbuf_submit_bh(struct nilfs_segment_buffer *segbuf, return 0; } /* bio is FULL */ - err = nilfs_segbuf_submit_bio(segbuf, wi, mode, 0); + err = nilfs_segbuf_submit_bio(segbuf, wi); /* never submit current bh */ if (likely(!err)) goto repeat; @@ -433,13 +431,13 @@ static int nilfs_segbuf_write(struct nilfs_segment_buffer *segbuf, nilfs_segbuf_prepare_write(segbuf, &wi); list_for_each_entry(bh, &segbuf->sb_segsum_buffers, b_assoc_buffers) { - res = nilfs_segbuf_submit_bh(segbuf, &wi, bh, REQ_OP_WRITE); + res = nilfs_segbuf_submit_bh(segbuf, &wi, bh); if (unlikely(res)) goto failed_bio; } list_for_each_entry(bh, &segbuf->sb_payload_buffers, b_assoc_buffers) { - res = nilfs_segbuf_submit_bh(segbuf, &wi, bh, REQ_OP_WRITE); + res = nilfs_segbuf_submit_bh(segbuf, &wi, bh); if (unlikely(res)) goto failed_bio; } @@ -449,8 +447,8 @@ static int nilfs_segbuf_write(struct nilfs_segment_buffer *segbuf, * Last BIO is always sent through the following * submission. */ - res = nilfs_segbuf_submit_bio(segbuf, &wi, REQ_OP_WRITE, - REQ_SYNC); + wi.bio->bi_opf |= REQ_SYNC; + res = nilfs_segbuf_submit_bio(segbuf, &wi); } failed_bio: -- 2.30.2 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 3/3] nilfs2: pass the operation to bio_alloc @ 2022-02-22 15:46 ` Christoph Hellwig 0 siblings, 0 replies; 11+ messages in thread From: Christoph Hellwig @ 2022-02-22 15:46 UTC (permalink / raw) To: Jens Axboe, Theodore Ts'o, Ryusuke Konishi Cc: Andrew Morton, linux-block-u79uwXL29TY76Z2rM5mHXA, linux-ext4-u79uwXL29TY76Z2rM5mHXA, linux-fsdevel-u79uwXL29TY76Z2rM5mHXA, linux-nilfs-u79uwXL29TY76Z2rM5mHXA Refactor the segbuf write code to pass the op to bio_alloc instead of setting it just before the submission. Signed-off-by: Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org> --- fs/nilfs2/segbuf.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/fs/nilfs2/segbuf.c b/fs/nilfs2/segbuf.c index 4f71faacd8253..a3bb0c856ec80 100644 --- a/fs/nilfs2/segbuf.c +++ b/fs/nilfs2/segbuf.c @@ -337,8 +337,7 @@ static void nilfs_end_bio_write(struct bio *bio) } static int nilfs_segbuf_submit_bio(struct nilfs_segment_buffer *segbuf, - struct nilfs_write_info *wi, int mode, - int mode_flags) + struct nilfs_write_info *wi) { struct bio *bio = wi->bio; int err; @@ -356,7 +355,6 @@ static int nilfs_segbuf_submit_bio(struct nilfs_segment_buffer *segbuf, bio->bi_end_io = nilfs_end_bio_write; bio->bi_private = segbuf; - bio_set_op_attrs(bio, mode, mode_flags); submit_bio(bio); segbuf->sb_nbio++; @@ -384,15 +382,15 @@ static void nilfs_segbuf_prepare_write(struct nilfs_segment_buffer *segbuf, static int nilfs_segbuf_submit_bh(struct nilfs_segment_buffer *segbuf, struct nilfs_write_info *wi, - struct buffer_head *bh, int mode) + struct buffer_head *bh) { int len, err; BUG_ON(wi->nr_vecs <= 0); repeat: if (!wi->bio) { - wi->bio = bio_alloc(wi->nilfs->ns_bdev, wi->nr_vecs, 0, - GFP_NOIO); + wi->bio = bio_alloc(wi->nilfs->ns_bdev, wi->nr_vecs, + REQ_OP_WRITE, GFP_NOIO); wi->bio->bi_iter.bi_sector = (wi->blocknr + wi->end) << (wi->nilfs->ns_blocksize_bits - 9); } @@ -403,7 +401,7 @@ static int nilfs_segbuf_submit_bh(struct nilfs_segment_buffer *segbuf, return 0; } /* bio is FULL */ - err = nilfs_segbuf_submit_bio(segbuf, wi, mode, 0); + err = nilfs_segbuf_submit_bio(segbuf, wi); /* never submit current bh */ if (likely(!err)) goto repeat; @@ -433,13 +431,13 @@ static int nilfs_segbuf_write(struct nilfs_segment_buffer *segbuf, nilfs_segbuf_prepare_write(segbuf, &wi); list_for_each_entry(bh, &segbuf->sb_segsum_buffers, b_assoc_buffers) { - res = nilfs_segbuf_submit_bh(segbuf, &wi, bh, REQ_OP_WRITE); + res = nilfs_segbuf_submit_bh(segbuf, &wi, bh); if (unlikely(res)) goto failed_bio; } list_for_each_entry(bh, &segbuf->sb_payload_buffers, b_assoc_buffers) { - res = nilfs_segbuf_submit_bh(segbuf, &wi, bh, REQ_OP_WRITE); + res = nilfs_segbuf_submit_bh(segbuf, &wi, bh); if (unlikely(res)) goto failed_bio; } @@ -449,8 +447,8 @@ static int nilfs_segbuf_write(struct nilfs_segment_buffer *segbuf, * Last BIO is always sent through the following * submission. */ - res = nilfs_segbuf_submit_bio(segbuf, &wi, REQ_OP_WRITE, - REQ_SYNC); + wi.bio->bi_opf |= REQ_SYNC; + res = nilfs_segbuf_submit_bio(segbuf, &wi); } failed_bio: -- 2.30.2 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 3/3] nilfs2: pass the operation to bio_alloc @ 2022-02-23 15:25 ` Ryusuke Konishi 0 siblings, 0 replies; 11+ messages in thread From: Ryusuke Konishi @ 2022-02-23 15:25 UTC (permalink / raw) To: Christoph Hellwig Cc: Jens Axboe, Theodore Ts'o, Andrew Morton, linux-block, linux-ext4, linux-fsdevel, linux-nilfs On Wed, Feb 23, 2022 at 12:46 AM Christoph Hellwig <hch@lst.de> wrote: > > Refactor the segbuf write code to pass the op to bio_alloc instead of > setting it just before the submission. > > Signed-off-by: Christoph Hellwig <hch@lst.de> > --- > fs/nilfs2/segbuf.c | 20 +++++++++----------- > 1 file changed, 9 insertions(+), 11 deletions(-) Acked-by: Ryusuke Konishi <konishi.ryusuke@gmail.com> Looks good for the 'for-5.18' branch of linux-block tree. Thanks, Ryusuke Konishi ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 3/3] nilfs2: pass the operation to bio_alloc @ 2022-02-23 15:25 ` Ryusuke Konishi 0 siblings, 0 replies; 11+ messages in thread From: Ryusuke Konishi @ 2022-02-23 15:25 UTC (permalink / raw) To: Christoph Hellwig Cc: Jens Axboe, Theodore Ts'o, Andrew Morton, linux-block-u79uwXL29TY76Z2rM5mHXA, linux-ext4-u79uwXL29TY76Z2rM5mHXA, linux-fsdevel-u79uwXL29TY76Z2rM5mHXA, linux-nilfs On Wed, Feb 23, 2022 at 12:46 AM Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org> wrote: > > Refactor the segbuf write code to pass the op to bio_alloc instead of > setting it just before the submission. > > Signed-off-by: Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org> > --- > fs/nilfs2/segbuf.c | 20 +++++++++----------- > 1 file changed, 9 insertions(+), 11 deletions(-) Acked-by: Ryusuke Konishi <konishi.ryusuke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Looks good for the 'for-5.18' branch of linux-block tree. Thanks, Ryusuke Konishi ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: simple file system cleanups for the new bio_alloc calling conventions @ 2022-02-26 14:18 ` Jens Axboe 0 siblings, 0 replies; 11+ messages in thread From: Jens Axboe @ 2022-02-26 14:18 UTC (permalink / raw) To: Christoph Hellwig, Theodore Ts'o, Ryusuke Konishi Cc: linux-ext4, linux-fsdevel, Andrew Morton, linux-nilfs, linux-block On Tue, 22 Feb 2022 16:46:31 +0100, Christoph Hellwig wrote: > this fixes up the remaining fairly trivial file system bio alloctions to > directly pass the bdev to bio_alloc. f2fs and btrfs will need more work and > will be handled separately. > > This is against Jens' for-5.18/block branch. It would probably make sense to > also merge it through that. > > [...] Applied, thanks! [1/3] mpage: pass the operation to bio_alloc commit: 8020990b8e1be0b4e325371ccb45a427acbabf9e [2/3] ext4: pass the operation to bio_alloc commit: 6a9856721a18208a50c826ed84b3665c4851dfe8 [3/3] nilfs2: pass the operation to bio_alloc commit: 91f6bd2d4d0aa91abf11b5780221d776f30cbac1 Best regards, -- Jens Axboe ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: simple file system cleanups for the new bio_alloc calling conventions @ 2022-02-26 14:18 ` Jens Axboe 0 siblings, 0 replies; 11+ messages in thread From: Jens Axboe @ 2022-02-26 14:18 UTC (permalink / raw) To: Christoph Hellwig, Theodore Ts'o, Ryusuke Konishi Cc: linux-ext4-u79uwXL29TY76Z2rM5mHXA, linux-fsdevel-u79uwXL29TY76Z2rM5mHXA, Andrew Morton, linux-nilfs-u79uwXL29TY76Z2rM5mHXA, linux-block-u79uwXL29TY76Z2rM5mHXA On Tue, 22 Feb 2022 16:46:31 +0100, Christoph Hellwig wrote: > this fixes up the remaining fairly trivial file system bio alloctions to > directly pass the bdev to bio_alloc. f2fs and btrfs will need more work and > will be handled separately. > > This is against Jens' for-5.18/block branch. It would probably make sense to > also merge it through that. > > [...] Applied, thanks! [1/3] mpage: pass the operation to bio_alloc commit: 8020990b8e1be0b4e325371ccb45a427acbabf9e [2/3] ext4: pass the operation to bio_alloc commit: 6a9856721a18208a50c826ed84b3665c4851dfe8 [3/3] nilfs2: pass the operation to bio_alloc commit: 91f6bd2d4d0aa91abf11b5780221d776f30cbac1 Best regards, -- Jens Axboe ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2022-02-26 14:19 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-02-22 15:46 simple file system cleanups for the new bio_alloc calling conventions Christoph Hellwig 2022-02-22 15:46 ` [PATCH 1/3] mpage: pass the operation to bio_alloc Christoph Hellwig 2022-02-22 15:46 ` [PATCH 2/3] ext4: " Christoph Hellwig 2022-02-25 22:07 ` Theodore Ts'o 2022-02-25 22:07 ` Theodore Ts'o 2022-02-22 15:46 ` [PATCH 3/3] nilfs2: " Christoph Hellwig 2022-02-22 15:46 ` Christoph Hellwig 2022-02-23 15:25 ` Ryusuke Konishi 2022-02-23 15:25 ` Ryusuke Konishi 2022-02-26 14:18 ` simple file system cleanups for the new bio_alloc calling conventions Jens Axboe 2022-02-26 14:18 ` Jens Axboe
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.