]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Flag for repair on missing subvolume
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 15 Apr 2025 23:15:43 +0000 (19:15 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 22 May 2025 00:14:18 +0000 (20:14 -0400)
commitbdad8962c94d3e557317b3d0691a507177f27a22
treea4c4e101a20f99553bd183322105989525e5841c
parentebf561b2083d797da4673207044855ccd764195b
bcachefs: Flag for repair on missing subvolume

Instead of going emegency read only with a bch2_fs_inconsistent() call,
log the error and recovery pass appropriately.

If we're still in recovery it'll be repaired immediately, otherwise
it'll be repaired on the next mount.

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