]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: BCH_FEATURE_no_alloc_info
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 3 Apr 2025 18:19:23 +0000 (14:19 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 22 May 2025 00:14:20 +0000 (20:14 -0400)
commit203852d9db68e14b50b119cbd123def7e7c9efd0
tree19b6ba7e726991d29d127291fc9313363cc1645a
parent576493133f26a172b8db4313448206d30750c9b2
bcachefs: BCH_FEATURE_no_alloc_info

If a filesystem is going to only be used read-only, and will be a
deployable image, we can strip out alloc info for a substantial
reduction in metadata size - around half, due to backpointers.

Alloc info will be regenerated on first read-write mount.

Remounting RW is disallowed for now, since we don't yet have
check_allocations running in RW mode.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bcachefs_format.h
fs/bcachefs/errcode.h
fs/bcachefs/recovery.c
fs/bcachefs/recovery.h
fs/bcachefs/recovery_passes.c
fs/bcachefs/recovery_passes_types.h
fs/bcachefs/sb-members.c
fs/bcachefs/super.c