diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-03-02 09:08:46 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:55 +0300 |
commit | b1cfe5ed2b5d5dbd2d8bcb2a4c1131513a1b3e1c (patch) | |
tree | d4f2398d3b830e19c34f5c11511f38718ee1e40a /fs/bcachefs/alloc_types.h | |
parent | c85d7796090741fe6a75f953afae964344066448 (diff) | |
download | linux-b1cfe5ed2b5d5dbd2d8bcb2a4c1131513a1b3e1c.tar.xz |
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.h | 1 |
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 |