The hunks of "btrfs: stripe_alloc: say at mount whether the policy is
on" (earlier in this series) that need code from "btrfs: add a
write-hole invariant checker to the raid56 write path", which comes
after it in this series: they are applied here, once "btrfs: add a
write-hole invariant checker to the raid56 write path" is in, instead of
with the rest of "btrfs: stripe_alloc: say at mount whether the policy
is on".
Assisted-by: Claude:claude-fable-5-1
Assisted-by: Claude:claude-opus-5-5
* when their caching thread finishes, now that the policy is on.
*/
stripe_alloc_sweep_groups(fs_info, true);
- btrfs_info(fs_info,
- "using stripe-exclusive allocation for raid56 data");
- if (live)
+ /* At mount, btrfs_fill_super() reports the outcome. */
+ if (live) {
+ btrfs_info(fs_info,
+ "using stripe-exclusive allocation for raid56 data (filesystem property)");
queue_work(system_unbound_wq, &fs_info->stripe_alloc_enable_work);
+ }
return 0;
}