bcachefs: Fixes for going RO
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 28 May 2020 20:06:13 +0000 (16:06 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:40 +0000 (17:08 -0400)
commit039fc4c5221f7433d8383e25a7c70b30793b4916
tree89321991d534139bbcb0dd259d53905e1edbf6de
parentbaeed3c3c028359c625fbe92bc5924edaea91ec4
bcachefs: Fixes for going RO

Now that interior btree updates are fully transactional, we don't need
to write out alloc info in a loop. However, interior btree updates do
put more things in the journal, so we still need a loop in the RO
sequence.

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/bcachefs.h
fs/bcachefs/journal_reclaim.c
fs/bcachefs/journal_reclaim.h
fs/bcachefs/super.c