The hunks of "btrfs: stripe_alloc: allow-rmw policy, and write-in-place
for isolated nocow extents" (earlier in this series) that need code from
"btrfs: stripe_alloc: carry an inode's log tail forward at fsync", which
comes after it in this series: they are applied here, once "btrfs:
stripe_alloc: carry an inode's log tail forward at fsync" is in, instead
of with the rest of "btrfs: stripe_alloc: allow-rmw policy, and
write-in-place for isolated nocow extents".
Assisted-by: Claude:claude-fable-5
Assisted-by: Claude:claude-opus-5-5
if (!btrfs_test_opt(inode->root->fs_info, STRIPE_ALLOC))
return;
+ if (btrfs_stripe_allow_rmw(inode->root->fs_info) &
+ BTRFS_STRIPE_RMW_FSYNC)
+ return;
if (!READ_ONCE(inode->log_carry))
return;
copy = kmalloc(sizeof(*copy), GFP_NOFS);