@@ -458,6 +458,7 @@ static int verify_level_key(struct btrfs_fs_info *fs_info,
eb->start, first_key->objectid, first_key->type,
first_key->offset, found_key.objectid,
found_key.type, found_key.offset);
+ btrfs_print_tree(eb, false);
}
#endif
return ret;
@@ -1870,6 +1870,8 @@ int replace_path(struct btrfs_trans_handle *trans,
level - 1, &first_key);
if (IS_ERR(eb)) {
ret = PTR_ERR(eb);
+ btrfs_err(fs_info, "parent leaf, slot: %d:", slot);
+ btrfs_print_tree(parent, false);
break;
} else if (!extent_buffer_uptodate(eb)) {
ret = -EIO;