]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: introduce mount option rescue=all
authorJosef Bacik <josef@toxicpanda.com>
Fri, 16 Oct 2020 15:29:20 +0000 (11:29 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 8 Dec 2020 14:53:42 +0000 (15:53 +0100)
commitdcbc0477883b3eeb6eb23d49fba5875ba93bb880
treeb04dbe9229110a25d82a83b5099e60b590b94afb
parent56e2c570451f6905780e55dc502da06e197f9db5
btrfs: introduce mount option rescue=all

Now that we have the building blocks for some better recovery options
with corrupted file systems, add a rescue=all option to enable all of
the relevant rescue options.  This will allow distros to simply default
to rescue=all for the "oh dear lord the world's on fire" recovery
without needing to know all the different options that we have and may
add in the future.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/super.c
fs/btrfs/sysfs.c