summaryrefslogtreecommitdiff
path: root/fs/bcachefs/bcachefs_format.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-02-06 11:56:51 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:08:15 -0400
commit1df42b571535ed3fd8d9d94f674c626746dc0275 (patch)
tree73dbfa3cd3d080f54934f6ce330d65cc2a265a42 /fs/bcachefs/bcachefs_format.h
parent3577df5f7f25f6669c4b53e76cf159d550a0fd83 (diff)
bcachefs: don't do initial gc if have alloc info feature
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs_format.h')
-rw-r--r--fs/bcachefs/bcachefs_format.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/bcachefs/bcachefs_format.h b/fs/bcachefs/bcachefs_format.h
index 71ba708c3e2b..a663f9d3fb51 100644
--- a/fs/bcachefs/bcachefs_format.h
+++ b/fs/bcachefs/bcachefs_format.h
@@ -1279,6 +1279,10 @@ enum bch_sb_features {
BCH_FEATURE_NR,
};
+enum bch_sb_compat {
+ BCH_COMPAT_FEAT_ALLOC_INFO = 0,
+};
+
/* options: */
#define BCH_REPLICAS_MAX 4U