diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-23 18:43:23 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 11:47:38 -0500 |
commit | 9b34f02cdcc1000b0147d5751349a3ac1b697590 (patch) | |
tree | 5b043c354f5fe7d0e5cef9fb538263f850a9fc15 /fs/bcachefs/journal_io.c | |
parent | ed0cd515cd8adb052881b371dd3f80cca5995174 (diff) | |
download | linux-stable-9b34f02cdcc1000b0147d5751349a3ac1b697590.tar.gz linux-stable-9b34f02cdcc1000b0147d5751349a3ac1b697590.tar.bz2 linux-stable-9b34f02cdcc1000b0147d5751349a3ac1b697590.zip |
bcachefs: Kill dev_usage->buckets_ec
This counter is redundant; it's simply the sum of BCH_DATA_stripe and
BCH_DATA_parity buckets.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/journal_io.c')
-rw-r--r-- | fs/bcachefs/journal_io.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/bcachefs/journal_io.c b/fs/bcachefs/journal_io.c index c46b3bf09fd5..f2e038116b0f 100644 --- a/fs/bcachefs/journal_io.c +++ b/fs/bcachefs/journal_io.c @@ -687,8 +687,6 @@ static void journal_entry_dev_usage_to_text(struct printbuf *out, struct bch_fs le64_to_cpu(u->d[i].sectors), le64_to_cpu(u->d[i].fragmented)); } - - prt_printf(out, " buckets_ec: %llu", le64_to_cpu(u->buckets_ec)); } static int journal_entry_log_validate(struct bch_fs *c, |