Thread (10 messages) 10 messages, 3 authors, 2021-09-15

Re: [PATCH v2 3/3] btrfs: rename struct btrfs_io_bio to btrfs_bio

From: David Sterba <hidden>
Date: 2021-09-14 16:49:55

On Tue, Sep 14, 2021 at 09:25:43AM +0800, Qu Wenruo wrote:
quoted hunk ↗ jump to hunk
--- a/fs/btrfs/scrub.c
+++ b/fs/btrfs/scrub.c
@@ -1423,7 +1423,7 @@ static void scrub_recheck_block_on_raid56(struct btrfs_fs_info *fs_info,
 	if (!first_page->dev->bdev)
 		goto out;
 
-	bio = btrfs_io_bio_alloc(BIO_MAX_VECS);
+	bio = btrfs_bio_alloc(BIO_MAX_VECS);
As BIO_MAX_VECS is the default value, this should take 0 so it's
consistent with the rest.
 	bio_set_dev(bio, first_page->dev->bdev);
 
 	for (page_num = 0; page_num < sblock->page_count; page_num++) {
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help