The hunks of "btrfs: stripe_alloc: keep a stripe in the rbio cache until
its run has written all of it" (earlier in this series) that need code
from "btrfs: stripe_alloc: isolate nodatacow and preallocated extents by
stripe", which comes after it in this series: they are applied here,
once "btrfs: stripe_alloc: isolate nodatacow and preallocated extents by
stripe" is in, instead of with the rest of "btrfs: stripe_alloc: keep a
stripe in the rbio cache until its run has written all of it".
Assisted-by: Claude:claude-opus-5-5
const u32 bits = run->bg->fs_info->sectorsize_bits;
u64 lo, hi;
+ if (run->class == BTRFS_STRIPE_RUN_NOCOW)
+ return false;
if (!run->live || !run->written || !run->live_nbits)
return false;
lo = max(*start, run->start);