bcachefs: Put erasure coding behind an EXPERIMENTAL kconfig option
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 23 Nov 2023 22:56:14 +0000 (17:56 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Fri, 24 Nov 2023 05:29:58 +0000 (00:29 -0500)
commit6201d91ee32cf92e9bcca69a3cf73461827b5ce5
tree495e1ae181ae32e8f5fb857e7cac454eeed4d079
parentd4e3b928ab487a8aecd1f6a140b40ac365116cfb
bcachefs: Put erasure coding behind an EXPERIMENTAL kconfig option

We still have disk space accounting changes coming for erasure coding,
and the changes won't be as strictly backwards compatible as they'd
ought to be - specifically, we need to start accounting striped data
under a separate counter in bch_alloc (which describes buckets).

A fsck will suffice for upgrading/downgrading, but since erasure coding
is the most incomplete major feature of bcachefs it still makes sense to
put behind a separate kconfig option, so that users are fully aware.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/Kconfig
fs/bcachefs/alloc_foreground.c