diff options
| author | Qu Wenruo <wqu@suse.com> | 2026-03-10 08:49:26 +1030 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-04-07 18:56:01 +0200 |
| commit | b4a1246298d9c0a7cbcbc05d437c5803eb6a9994 (patch) | |
| tree | 868a310e0e828958121bccf08d038bd71dfef16f /tools/perf/scripts/python/flamegraph.py | |
| parent | 52e71eb95cc73e544f36041973bd3c4cd460a4fb (diff) | |
btrfs: tree-checker: introduce checks for FREE_SPACE_EXTENT
Introduce FREE_SPACE_EXTENT checks, which include:
- The key alignment check
The objectid is the logical bytenr of the free space, and offset is the
length of the free space, thus they should all be aligned to the fs
block size.
- The item size check
The FREE_SPACE_EXTENT item should have a size of zero.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
