summaryrefslogtreecommitdiff
path: root/fs/bcachefs/alloc_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-03-02 01:08:46 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:55 -0400
commitb1cfe5ed2b5d5dbd2d8bcb2a4c1131513a1b3e1c (patch)
treed4f2398d3b830e19c34f5c11511f38718ee1e40a /fs/bcachefs/alloc_types.h
parentc85d7796090741fe6a75f953afae964344066448 (diff)
bcachefs: Improve dev_alloc_debug_to_text()
Now we also print the number of buckets reserved for each watermark. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/alloc_types.h')
-rw-r--r--fs/bcachefs/alloc_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/alloc_types.h b/fs/bcachefs/alloc_types.h
index 2e6f48069258..c8a45ea9d661 100644
--- a/fs/bcachefs/alloc_types.h
+++ b/fs/bcachefs/alloc_types.h
@@ -28,6 +28,7 @@ enum alloc_reserve {
#define x(name) RESERVE_##name,
BCH_ALLOC_RESERVES()
#undef x
+ RESERVE_NR,
};
#define OPEN_BUCKETS_COUNT 1024