btrfs: remove raid-stripe-tree encoding field from stripe_extent
Remove the encoding field from 'struct btrfs_stripe_extent'. It was originally intended to encode the RAID type as well as if we're a data or a parity stripe. But the RAID type can be inferred form the block-group and the data vs. parity differentiation can be done easier with adding a new key type for parity stripes in the RAID stripe tree. Signed-off-by:Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by:
David Sterba <dsterba@suse.com>
Showing
- fs/btrfs/accessors.h 0 additions, 3 deletionsfs/btrfs/accessors.h
- fs/btrfs/print-tree.c 0 additions, 5 deletionsfs/btrfs/print-tree.c
- fs/btrfs/raid-stripe-tree.c 0 additions, 13 deletionsfs/btrfs/raid-stripe-tree.c
- fs/btrfs/raid-stripe-tree.h 1 addition, 2 deletionsfs/btrfs/raid-stripe-tree.h
- fs/btrfs/tree-checker.c 0 additions, 19 deletionsfs/btrfs/tree-checker.c
- include/uapi/linux/btrfs_tree.h 1 addition, 13 deletionsinclude/uapi/linux/btrfs_tree.h
Please register or sign in to comment