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:
parent
b4ab282686
commit
fff57d3774
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
raid_groups:
|
||||||
ret = create_raid_groups(trans, root, data_profile,
|
ret = create_raid_groups(trans, root, data_profile,
|
||||||
metadata_profile, mixed, &allocation);
|
metadata_profile, mixed, &allocation);
|
||||||
|
|
Loading…
Reference in a new issue