diff options
| author | Qu Wenruo <[email protected]> | 2019-10-04 17:31:33 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2019-11-18 12:46:54 +0100 |
| commit | c06631b0d8a4236fb45667de60880b037863de56 (patch) | |
| tree | 8c181235083ea21402ba2bf9ff9e9ae3220aaebb /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 80d7fd1e09822daf8d94d46c6f9a17e7e34cf0b4 (diff) | |
btrfs: Enhance error output for write time tree checker
Unlike read time tree checker errors, write time error can't be
inspected by "btrfs inspect dump-tree", so we need extra information to
determine what's going wrong.
The patch will add the following output for write time tree checker
error:
- The content of the offending tree block
To help determining if it's a false alert.
- Kernel WARN_ON() for debug build
This is helpful for us to detect unexpected write time tree checker
error, especially fstests could catch the dmesg.
Since the WARN_ON() is only triggered for write time tree checker,
test cases utilizing dm-error won't trigger this WARN_ON(), thus no
extra noise.
Signed-off-by: Qu Wenruo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions