]> Git Repo - linux.git/commit
btrfs: also add stripe entries for NOCOW writes
authorJohannes Thumshirn <[email protected]>
Thu, 19 Sep 2024 10:16:38 +0000 (12:16 +0200)
committerDavid Sterba <[email protected]>
Tue, 1 Oct 2024 17:09:04 +0000 (19:09 +0200)
commit97f9782276fc9cb0de37a5eecb82204e48a5a612
treeb662dc2a5e940c04c8bd5dddbf261afd3cbd4c00
parent96c6ca71572a3556ed0c37237305657ff47174b7
btrfs: also add stripe entries for NOCOW writes

NOCOW writes do not generate stripe_extent entries in the RAID stripe
tree, as the RAID stripe-tree feature initially was designed with a
zoned filesystem in mind and on a zoned filesystem, we do not allow NOCOW
writes. But the RAID stripe-tree feature is independent from the zoned
feature, so we must also do NOCOW writes for RAID stripe-tree filesystems.

Reviewed-by: Naohiro Aota <[email protected]>
Signed-off-by: Johannes Thumshirn <[email protected]>
Signed-off-by: David Sterba <[email protected]>
fs/btrfs/inode.c
This page took 0.053817 seconds and 4 git commands to generate.