mbox series

[0/2] btrfs-progs: support DUP on metadata for zoned

Message ID 20220126090403.57672-1-johannes.thumshirn@wdc.com (mailing list archive)
Headers show
Series btrfs-progs: support DUP on metadata for zoned | expand

Message

Johannes Thumshirn Jan. 26, 2022, 9:04 a.m. UTC
This is the userspace part for supporting BTRFS_BLOCK_GROUP_DUP on zoned
devices for metadata block groups.

Johannes Thumshirn (2):
  btrfs-progs: use profile_supported in mkfs as well
  btrfs-progs: zoned support DUP on metadata block groups

 kernel-shared/zoned.c | 12 +++++++++---
 kernel-shared/zoned.h |  1 +
 mkfs/main.c           |  4 ++--
 3 files changed, 12 insertions(+), 5 deletions(-)

Comments

David Sterba Feb. 1, 2022, 4:51 p.m. UTC | #1
On Wed, Jan 26, 2022 at 01:04:01AM -0800, Johannes Thumshirn wrote:
> This is the userspace part for supporting BTRFS_BLOCK_GROUP_DUP on zoned
> devices for metadata block groups.

mkfs with DUP on metadata works, I also tried it on -d dup and it
crashes inside btrfs_add_block_group (kernel-shared/extent-tree.c:2781:)
due to missing error handling. Can you please also have a look? It
should at least exit with a normal error, so we can throw zoned devices
into more tests eventually.

> Johannes Thumshirn (2):
>   btrfs-progs: use profile_supported in mkfs as well
>   btrfs-progs: zoned support DUP on metadata block groups

Added to devel, thanks.