summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/bcachefs.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-04-25 20:45:00 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-07-14 19:00:12 -0400
commit7773df19c35fabdcc8c36176a480a1b19ad32866 (patch)
tree30d315c9197fe7232d887720899b4b3bcd9b250a /fs/bcachefs/bcachefs.h
parent2612e29142ff718e6f120c62e6792f0a67fd3005 (diff)
downloadlinux-stable-7773df19c35fabdcc8c36176a480a1b19ad32866.tar.gz
linux-stable-7773df19c35fabdcc8c36176a480a1b19ad32866.tar.bz2
linux-stable-7773df19c35fabdcc8c36176a480a1b19ad32866.zip
bcachefs: metadata version bucket_stripe_sectors
New on disk format version for bch_alloc->stripe_sectors and BCH_DATA_unstriped - accounting for unstriped data in stripe buckets. Upgrade/downgrade requires regenerating alloc info - but only if erasure coding is in use. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs.h')
-rw-r--r--fs/bcachefs/bcachefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/bcachefs.h b/fs/bcachefs/bcachefs.h
index 4d93889f3bae..6eec526c45d4 100644
--- a/fs/bcachefs/bcachefs.h
+++ b/fs/bcachefs/bcachefs.h
@@ -592,6 +592,7 @@ struct bch_dev {
#define BCH_FS_FLAGS() \
x(new_fs) \
x(started) \
+ x(btree_running) \
x(may_go_rw) \
x(rw) \
x(was_rw) \