summaryrefslogtreecommitdiff
path: root/fs/btrfs/zoned.h
diff options
context:
space:
mode:
authorNaohiro Aota <naohiro.aota@wdc.com>2021-08-19 15:19:16 +0300
committerDavid Sterba <dsterba@suse.com>2021-10-26 20:07:59 +0300
commitdafc340dbd10a21c133f3b152cee6214fcfbf84a (patch)
tree99c9c5944e8ba8146f01d0c5c2275bc7c67e5e6f /fs/btrfs/zoned.h
parentea6f8ddcde638123a010f8a43f68e5856b1788cc (diff)
downloadlinux-dafc340dbd10a21c133f3b152cee6214fcfbf84a.tar.xz
btrfs: zoned: introduce physical_map to btrfs_block_group
We will use a block group's physical location to track active zones and finish fully written zones in the following commits. Since the zone activation is done in the extent allocation context which already holding the tree locks, we can't query the chunk tree for the physical locations. So, copy the location info into a block group and use it for activation. Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/zoned.h')
0 files changed, 0 insertions, 0 deletions