]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bcachefs: Kill dev_usage->buckets_ec
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 23 Nov 2023 23:43:23 +0000 (18:43 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 1 Jan 2024 16:47:38 +0000 (11:47 -0500)
commit9b34f02cdcc1000b0147d5751349a3ac1b697590
tree5b043c354f5fe7d0e5cef9fb538263f850a9fc15
parented0cd515cd8adb052881b371dd3f80cca5995174
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>
fs/bcachefs/bcachefs_format.h
fs/bcachefs/btree_gc.c
fs/bcachefs/buckets.c
fs/bcachefs/buckets_types.h
fs/bcachefs/journal_io.c
fs/bcachefs/recovery.c
fs/bcachefs/sb-clean.c