On Thu, Aug 28, 2025 at 05:16:02PM +0300, Nikita Ofitserov via B4 Relay wrote: > This patch series introduces new per-btree accounting counters and uses > them for (hopefully) accurate progress reporting in recovery passes. > Also includes various assorted bugfixes. > > The commit "Relax restrictions on the number of accounting > counters" is optional, but will likely greatly improve the > upgrade/tools version mismatch experience. Without it, all bree usage > accounting will be thrown out and rebuilt on any version mismatch. > > The commit "bcachefs_metadata_version_btree_node_accounting" > introduces the format change along with upgrade/downgrade table entries. > > The first ten commits are drive-by fixes/improvements, especially > "Improve check_allocations pass speed not in fsck", which should make > future accounting upgrades much faster (including this one). > > Signed-off-by: Nikita Ofitserov <himi...@gmail.com> > --- > Changes in v2: > - Reordered the format-change-dependent commits to the end > - Added the new metadata version, upgrade and downgrade entries > - Fixed an issue with hidden usage calculation after device removal > - Link to v1: > https://lore.kernel.org/r/20250827-better-progress-v1-0-74c24de79...@gmail.com
https://evilpiepirate.org/~testdashboard/ci?user=nofitserov&branch=nofitserov Every patch before "Relax restrictions on the number of accounting counters" looks good according to the CI; after that the test dashboard explodes: https://evilpiepirate.org/~testdashboard/ci?user=nofitserov&branch=nofitserov And those look like clean and simple bugfixes/refactorings, so I'm going to pull those into testing.