diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-03-02 01:08:46 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:55 -0400 |
commit | b1cfe5ed2b5d5dbd2d8bcb2a4c1131513a1b3e1c (patch) | |
tree | d4f2398d3b830e19c34f5c11511f38718ee1e40a /fs/bcachefs/util.h | |
parent | c85d7796090741fe6a75f953afae964344066448 (diff) | |
download | linux-b1cfe5ed2b5d5dbd2d8bcb2a4c1131513a1b3e1c.tar.gz linux-b1cfe5ed2b5d5dbd2d8bcb2a4c1131513a1b3e1c.tar.bz2 linux-b1cfe5ed2b5d5dbd2d8bcb2a4c1131513a1b3e1c.zip |
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/util.h')
-rw-r--r-- | fs/bcachefs/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/util.h b/fs/bcachefs/util.h index 4188f380f54f..44c6a2a10f35 100644 --- a/fs/bcachefs/util.h +++ b/fs/bcachefs/util.h @@ -236,7 +236,7 @@ do { \ #define prt_tab_rjust(_out) bch2_prt_tab_rjust(_out) #define prt_bytes_indented(...) bch2_prt_bytes_indented(__VA_ARGS__) -#define prt_u64(_out, _v) prt_printf(_out, "%llu", _v) +#define prt_u64(_out, _v) prt_printf(_out, "%llu", (u64) (_v)) #define prt_human_readable_u64(...) bch2_prt_human_readable_u64(__VA_ARGS__) #define prt_human_readable_s64(...) bch2_prt_human_readable_s64(__VA_ARGS__) #define prt_units_u64(...) bch2_prt_units_u64(__VA_ARGS__) |