bcachefs: Mark superblocks transactionally
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 22 Jan 2021 22:56:34 +0000 (17:56 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:52 +0000 (17:08 -0400)
commitbfcf840ddf0697f991f2591b56a9f1969accbd23
tree303ed1508ca0a86441527a468074ea67ea7a4d43
parent9afc6652d14ac83ef9c5ce3544becad22ea50baa
bcachefs: Mark superblocks transactionally

More work towards getting rid of the in memory struct bucket: this path
adds code for marking superblock and journal buckets via the btree, and
uses it in the device add and journal resize paths.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/alloc_background.c
fs/bcachefs/alloc_background.h
fs/bcachefs/buckets.c
fs/bcachefs/buckets.h
fs/bcachefs/journal.c
fs/bcachefs/super.c