]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/alloc_background.h
New upstream snapshot
[bcachefs-tools-debian] / libbcachefs / alloc_background.h
index 870714ff16a7f496972bc1fec2c2fa564cd4c9f4..cbaff56f7473f4f77edb5da718312ee7f29c598b 100644 (file)
@@ -13,6 +13,9 @@ struct bkey_alloc_unpacked {
 #undef  x
 };
 
+/* How out of date a pointer gen is allowed to be: */
+#define BUCKET_GC_GEN_MAX      96U
+
 /* returns true if not equal */
 static inline bool bkey_alloc_unpacked_cmp(struct bkey_alloc_unpacked l,
                                           struct bkey_alloc_unpacked r)