Message ID | 4FFC210B.8020702@giantdisaster.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index c9018a0..6d90bf0 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -2457,6 +2457,11 @@ static int __must_check submit_one_bio(int rw, struct bio *bio, if (bio_flagged(bio, BIO_EOPNOTSUPP)) ret = -EOPNOTSUPP; bio_put(bio); + if (ret) + printk("submit_one_bio(%d, %d, %lu, %llu, %u) -> %d\n", + rw, mirror_num, bio_flags, + (unsigned long long)bio->bi_sector, + (unsigned int)bio->bi_vcnt, ret); return ret; }