mbox series

[RFC,ONLY,0/6] btrfs-progs: raid-stripe-tree support for progs

Message ID 20220518091716.786452-1-johannes.thumshirn@wdc.com (mailing list archive)
Headers show
Series btrfs-progs: raid-stripe-tree support for progs | expand

Message

Johannes Thumshirn May 18, 2022, 9:17 a.m. UTC
This is the accompanying btrfs-progs support for raid-strip-tree, the kernel
part is submitted here:
https://lore.kernel.org/linux-btrfs/cover.1652711187.git.johannes.thumshirn@wdc.com/

For creating a two drive RAID1 volume with a raid-stripe-tree simply run:

mkfs.btrfs -R raid-stripe-tree -d raid1 -m raid1 /dev/disk1 /dev/disk2

Johannes Thumshirn (6):
  btrfs-progs: add raid-stripe-tree definitions
  btrfs-progs: read fs with stripe tree from disk
  btrfs-progs: add dump tree support for the raid stripe tree
  btrfs-progs: allow zoned RAID1
  btrfs-progs: add raid-stripe-tree to mkfs runtime features
  btrfs-progs: load zone info for all zoned devices

 cmds/inspect-dump-tree.c   |  5 ++++
 common/fsfeatures.c        |  8 ++++++
 common/fsfeatures.h        |  1 +
 kernel-shared/ctree.h      | 55 ++++++++++++++++++++++++++++++++++++++
 kernel-shared/disk-io.c    | 22 ++++++++++++++-
 kernel-shared/print-tree.c | 27 +++++++++++++++++++
 kernel-shared/zoned.c      | 20 ++++++++++----
 kernel-shared/zoned.h      |  4 +--
 mkfs/main.c                | 50 ++++++++++++++++++++++++++++++++--
 9 files changed, 182 insertions(+), 10 deletions(-)