diff options
author | 2021-08-09 09:29:18 +0900 | |
---|---|---|
committer | 2021-08-23 13:19:11 +0200 | |
commit | 63fb5879db7ca94fefac12cf7a5a051cee889c12 (patch) | |
tree | aa81a2bfa80b33af75952f2583f91cb18a673bc3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: zoned: fix block group alloc_offset calculation (diff) | |
download | wireguard-linux-63fb5879db7ca94fefac12cf7a5a051cee889c12.tar.xz wireguard-linux-63fb5879db7ca94fefac12cf7a5a051cee889c12.zip |
btrfs: zoned: add asserts on splitting extent_map
We call split_zoned_em() on an extent_map on submitting a bio for it. Thus,
we can assume the extent_map is PINNED, not LOGGING, and in the modified
list. Add ASSERT()s to ensure the extent_maps after the split also has the
proper flags set and are in the modified list.
Suggested-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions