diff options
author | 2022-01-26 05:46:23 -0800 | |
---|---|---|
committer | 2022-03-14 13:13:49 +0100 | |
commit | 265f7237dd258e1d4d0b3f84ffea92d7d1c08861 (patch) | |
tree | 6ba3a8313eed76f625364e9d34ea888fa88d144f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: zoned: prepare for allowing DUP on zoned (diff) | |
download | linux-dev-265f7237dd258e1d4d0b3f84ffea92d7d1c08861.tar.xz linux-dev-265f7237dd258e1d4d0b3f84ffea92d7d1c08861.zip |
btrfs: zoned: allow DUP on meta-data block groups
Allow creating or reading block-groups on a zoned device with DUP as a
meta-data profile.
This works because we're using the zoned_meta_io_lock and REQ_OP_WRITE
operations for meta-data on zoned btrfs, so all writes to meta-data zones
are aligned to the zone's write-pointer.
Upon loading of the block-group, it is ensured both zones do have the same
zone capacity and write-pointer offsets, so no extra machinery is needed
to keep the write-pointers in sync for the meta-data zones. If this
prerequisite is not met, loading of the block-group is refused.
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions