]> www.infradead.org Git - users/hch/configfs.git/commit
bcachefs: Ensure BCH_FS_may_go_rw is set before exiting recovery
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 31 Oct 2024 07:33:36 +0000 (03:33 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 7 Nov 2024 21:48:21 +0000 (16:48 -0500)
commitef4f6c322bf4ca8e6d050cd0667a9447b8cbe212
treed61317a4fbec32a0a1465717560089d96cb3688d
parentcec136d348e037ea5b6a463164454d6d0174d92f
bcachefs: Ensure BCH_FS_may_go_rw is set before exiting recovery

If BCH_FS_may_go_rw is not yet set, it indicates to the transaction
commit path that updates should be done via the list of journal replay
keys.

This must be set before multithreaded use commences.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/recovery.c
fs/bcachefs/recovery_passes.c