]> git.ipfire.org Git - people/ms/linux.git/commit - fs/btrfs/zoned.c
btrfs: zoned: make zone activation multi stripe capable
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Wed, 26 Jan 2022 13:46:20 +0000 (05:46 -0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 14 Mar 2022 12:13:49 +0000 (13:13 +0100)
commitf9a912a3c45f6c319c2bc11b5410ed1c0392eadd
tree86f0ac513c549fbf2c0267999bb2b9ee868a778c
parentf7238e5094048f20ab6f92d7c2f5ec50fc247f26
btrfs: zoned: make zone activation multi stripe capable

Currently activation of a zone only works if the block group isn't
spanning more than one zone.

This limitation is purely artificial and can be easily expanded to block
groups being places across multiple zones.

This is a preparation for allowing DUP and later more complex block-group
profiles on zoned btrfs.

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