We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eb4e85 commit cebae29Copy full SHA for cebae29
fs/btrfs/bio.c
@@ -741,7 +741,9 @@ static bool btrfs_submit_chunk(struct btrfs_bio *bbio, int mirror_num)
741
ret = btrfs_bio_csum(bbio);
742
if (ret)
743
goto fail_put_bio;
744
- } else if (use_append) {
+ } else if (use_append ||
745
+ (btrfs_is_zoned(fs_info) && inode &&
746
+ inode->flags & BTRFS_INODE_NODATASUM)) {
747
ret = btrfs_alloc_dummy_sum(bbio);
748
749
0 commit comments