The hunks of "btrfs: stripe_alloc: count nocow run lifecycles and
stranded stripes in sysfs" (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: count
nocow run lifecycles and stranded stripes in sysfs".
Assisted-by: Claude:claude-fable-5
Assisted-by: Claude:claude-opus-5-5
}
new_run->bg = bg;
new_run->class = class;
+ if (class == BTRFS_STRIPE_RUN_NOCOW)
+ atomic64_inc(&fs_info->stripe_run_stats.nocow_run_opened);
new_run->owner = ino;
new_run->start = start;
new_run->end = start + len;