summaryrefslogtreecommitdiff
path: root/fs/bcachefs/bcachefs_format.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-11-23 16:34:03 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2024-07-14 19:00:12 -0400
commit2612e29142ff718e6f120c62e6792f0a67fd3005 (patch)
tree4478842165cbf2aaf7a5c9b9dae7335f2431e741 /fs/bcachefs/bcachefs_format.h
parent55f7962da3bb2d34525c1973189413a113667a24 (diff)
bcachefs: BCH_DATA_unstriped
Add a new pseudo data type, to track buckets that are members of a stripe, but have unstriped data in them. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs_format.h')
-rw-r--r--fs/bcachefs/bcachefs_format.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/bcachefs_format.h b/fs/bcachefs/bcachefs_format.h
index e3b1bde489c3..1d580e529da5 100644
--- a/fs/bcachefs/bcachefs_format.h
+++ b/fs/bcachefs/bcachefs_format.h
@@ -612,7 +612,8 @@ LE64_BITMASK(BCH_KDF_SCRYPT_P, struct bch_sb_field_crypt, kdf_flags, 32, 48);
x(parity, 6) \
x(stripe, 7) \
x(need_gc_gens, 8) \
- x(need_discard, 9)
+ x(need_discard, 9) \
+ x(unstriped, 10)
enum bch_data_type {
#define x(t, n) BCH_DATA_##t,