btrfs: read raid stripe tree from disk
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Thu, 14 Sep 2023 16:06:57 +0000 (09:06 -0700)
committerDavid Sterba <dsterba@suse.com>
Thu, 12 Oct 2023 14:44:09 +0000 (16:44 +0200)
commit515020900d447796bc2f0f57064663617a11b65d
tree61f91660a35c85e4fbaa6c2838d6d0887b6bc4fb
parentee1293308e01d359688243d665138f35a6f1f9b8
btrfs: read raid stripe tree from disk

If we find the raid-stripe-tree on mount, read it from disk. This is
a backward incompatible feature. The rescue=ignorebadroots mount option
will skip this tree.

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-rsv.c
fs/btrfs/disk-io.c
fs/btrfs/fs.h
include/uapi/linux/btrfs.h