diff options
author | Qu Wenruo <wqu@suse.com> | 2021-12-30 09:45:13 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-01-07 14:18:27 +0100 |
commit | 856e47946c6da280816ed9b9c32083c102838ba0 (patch) | |
tree | 729ff993591569e721dce39d4647db885322eb30 /fs/bad_inode.c | |
parent | btrfs: scrub: cleanup the argument list of scrub_stripe() (diff) | |
download | linux-856e47946c6da280816ed9b9c32083c102838ba0.tar.xz linux-856e47946c6da280816ed9b9c32083c102838ba0.zip |
btrfs: selftests: dump extent io tree if extent-io-tree test failed
When code modifying extent-io-tree get modified and got that selftest
failed, it can take some time to pin down the cause.
To make it easier to expose the problem, dump the extent io tree if the
selftest failed.
This can save developers debug time, especially since the selftest we
can not use the trace events, thus have to manually add debug trace
points.
Reviewed-by: Josef Bacik <josef@toxicpanda.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 'fs/bad_inode.c')
0 files changed, 0 insertions, 0 deletions