bcachefs: Assorted fixes for running on very small devices
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 5 Nov 2018 03:09:51 +0000 (22:09 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:11 +0000 (17:08 -0400)
commit8b335baef22768deb7140e45f32f37ea51a1faf4
tree47e503994a655cbef184189b655c1d77576e5478
parentb092dadd55fb242a480f81c421303a9e53302156
bcachefs: Assorted fixes for running on very small devices

It's now possible to create and use a filesystem on a 512k device with
4k buckets (though at that size we still waste almost half to internal
reserves)

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/alloc_background.c
fs/bcachefs/alloc_background.h
fs/bcachefs/bcachefs.h
fs/bcachefs/bcachefs_format.h
fs/bcachefs/buckets.c
fs/bcachefs/recovery.c
fs/bcachefs/super-io.c