projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7541787
)
bcachefs: Print durability in member_to_text()
author
Kent Overstreet
<kent.overstreet@linux.dev>
Sat, 25 Nov 2023 05:05:30 +0000
(
00:05
-0500)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Mon, 1 Jan 2024 16:47:38 +0000
(11:47 -0500)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/sb-members.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/sb-members.c
b/fs/bcachefs/sb-members.c
index bed0f857fe5b7627639ee24202dba1002910eee7..259af07f4624792062fff170ae69c28cd2e9aa8a 100644
(file)
--- a/
fs/bcachefs/sb-members.c
+++ b/
fs/bcachefs/sb-members.c
@@
-259,6
+259,11
@@
static void member_to_text(struct printbuf *out,
prt_printf(out, "(none)");
prt_newline(out);
+ prt_str(out, "Durability:");
+ prt_tab(out);
+ prt_printf(out, "%llu", BCH_MEMBER_DURABILITY(&m));
+ prt_newline(out);
+
prt_printf(out, "Discard:");
prt_tab(out);
prt_printf(out, "%llu", BCH_MEMBER_DISCARD(&m));