btrfs: introduce new "rescue=ignoresuperflags" mount option
authorQu Wenruo <wqu@suse.com>
Fri, 14 Jun 2024 04:22:31 +0000 (13:52 +0930)
committerDavid Sterba <dsterba@suse.com>
Thu, 11 Jul 2024 13:33:30 +0000 (15:33 +0200)
commit32e6216512b4119c1bb317c7305708f725832ff7
treebe8a3f42519a2f51a1f7411e9b1b9ee0b2caec8a
parent169aaaf2e0be615ffd4a12adc02db5eb86e8eee1
btrfs: introduce new "rescue=ignoresuperflags" mount option

This new mount option allows the kernel to skip the super flags check,
it's mostly to allow the kernel to do a rescue mount of an interrupted
checksum conversion.

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