diff options
author | Qu Wenruo <wqu@suse.com> | 2023-04-27 20:16:28 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-06-19 13:59:23 +0200 |
commit | eee3b811784e52f06ccb3e1c4518a9907627d4fe (patch) | |
tree | 4d0022a7c817edb470b572c3cb684f0ba5925789 /fs/btrfs/raid56.c | |
parent | 6c75a589cb35b8ea5cf9a22f389981acf687ab85 (diff) |
btrfs: improve leaf dump and error handling
Improve the leaf dump behavior by:
- Always dump the leaf first, then the error message
- Output the slot number if possible
Especially in __btrfs_free_extent() the leaf dump of extent tree can
be pretty large.
With an extra slot number it's much easier to locate the problem.
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/btrfs/raid56.c')
0 files changed, 0 insertions, 0 deletions