diff options
author | Naohiro Aota <naohiro.aota@wdc.com> | 2021-08-09 09:29:18 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-08-23 13:19:11 +0200 |
commit | 63fb5879db7ca94fefac12cf7a5a051cee889c12 (patch) | |
tree | aa81a2bfa80b33af75952f2583f91cb18a673bc3 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0ae79c6fe70d5c5c645733b7ed39d5e6021d8c9a (diff) |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions