diff mbox series

[RFC,ONLY,6/6] btrfs-progs: load zone info for all zoned devices

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

Commit Message

Johannes Thumshirn May 18, 2022, 9:17 a.m. UTC
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
---
 mkfs/main.c | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/mkfs/main.c b/mkfs/main.c
index 881de53b11fe..a43dae0ee253 100644
--- a/mkfs/main.c
+++ b/mkfs/main.c
@@ -1638,6 +1638,10 @@  int BOX_MAIN(mkfs)(int argc, char **argv)
 		}
 	}
 
+
+	if (zoned)
+		btrfs_get_dev_zone_info_all_devices(fs_info);
+
 raid_groups:
 	ret = create_raid_groups(trans, root, data_profile,
 			 metadata_profile, mixed, &allocation);