diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-15 23:33:39 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-21 21:27:09 +0300 |
commit | 189c176c5dd324531d4cb23f172b1761e65bb0ed (patch) | |
tree | bfa5c0aecb418775eb736f0e40d962564112ea93 /fs/bcachefs/util.h | |
parent | ef740a1e2939376ea4cc11cc8b923214dc1f4a41 (diff) | |
download | linux-189c176c5dd324531d4cb23f172b1761e65bb0ed.tar.xz |
bcachefs: Improve move_extent tracepoint
Also print out the data_opts, so that we can see what specifically is
being done to an extent.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/util.h')
-rw-r--r-- | fs/bcachefs/util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/util.h b/fs/bcachefs/util.h index c75fc31915d3..df67bf55fe2b 100644 --- a/fs/bcachefs/util.h +++ b/fs/bcachefs/util.h @@ -342,7 +342,8 @@ bool bch2_is_zero(const void *, size_t); u64 bch2_read_flag_list(char *, const char * const[]); -void bch2_prt_u64_binary(struct printbuf *, u64, unsigned); +void bch2_prt_u64_base2_nbits(struct printbuf *, u64, unsigned); +void bch2_prt_u64_base2(struct printbuf *, u64); void bch2_print_string_as_lines(const char *prefix, const char *lines); |