btrfs-progs: load zone info for all zoned devices

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Johannes Thumshirn 2023-09-14 09:05:36 -07:00 committed by David Sterba
parent b4ab282686
commit fff57d3774

View file

@ -1728,6 +1728,9 @@ int BOX_MAIN(mkfs)(int argc, char **argv)
}
}
if (opt_zoned)
btrfs_get_dev_zone_info_all_devices(fs_info);
raid_groups:
ret = create_raid_groups(trans, root, data_profile,
metadata_profile, mixed, &allocation);