|
@@ -2143,7 +2143,10 @@ int raid56_parity_recover(struct btrfs_root *root, struct bio *bio,
|
|
|
|
|
|
rbio->faila = find_logical_bio_stripe(rbio, bio);
|
|
rbio->faila = find_logical_bio_stripe(rbio, bio);
|
|
if (rbio->faila == -1) {
|
|
if (rbio->faila == -1) {
|
|
- BUG();
|
|
|
|
|
|
+ btrfs_warn(root->fs_info,
|
|
|
|
+ "%s could not find the bad stripe in raid56 so that we cannot recover any more (bio has logical %llu len %llu, bbio has map_type %llu)",
|
|
|
|
+ __func__, (u64)bio->bi_iter.bi_sector << 9,
|
|
|
|
+ (u64)bio->bi_iter.bi_size, bbio->map_type);
|
|
if (generic_io)
|
|
if (generic_io)
|
|
btrfs_put_bbio(bbio);
|
|
btrfs_put_bbio(bbio);
|
|
kfree(rbio);
|
|
kfree(rbio);
|