btrfs: zoned: introduce a zone_info struct in btrfs_load_block_group_zone_info
authorChristoph Hellwig <hch@lst.de>
Mon, 5 Jun 2023 08:51:05 +0000 (10:51 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 12 Oct 2023 14:44:08 +0000 (16:44 +0200)
commit15c12fcc50a1b12a747f8b6ec05cdb18c537a4d1
treedfc4bbfdb349ae4dfe6f58a78a1e2264fd0f5720
parent4d20c1def946f1faa57334c4b99d3cb0ccd18944
btrfs: zoned: introduce a zone_info struct in btrfs_load_block_group_zone_info

Add a new zone_info structure to hold per-zone information in
btrfs_load_block_group_zone_info and prepare for breaking out helpers
from it.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/zoned.c