|
@@ -8060,6 +8060,7 @@ static void btrfs_retry_endio_nocsum(struct bio *bio)
|
|
|
ASSERT(bio->bi_io_vec->bv_len == btrfs_inode_sectorsize(inode));
|
|
|
|
|
|
done->uptodate = 1;
|
|
|
+ ASSERT(!bio_flagged(bio, BIO_CLONED));
|
|
|
bio_for_each_segment_all(bvec, bio, i)
|
|
|
clean_io_failure(BTRFS_I(inode)->root->fs_info, failure_tree,
|
|
|
io_tree, done->start, bvec->bv_page,
|
|
@@ -8151,6 +8152,7 @@ static void btrfs_retry_endio(struct bio *bio)
|
|
|
io_tree = &BTRFS_I(inode)->io_tree;
|
|
|
failure_tree = &BTRFS_I(inode)->io_failure_tree;
|
|
|
|
|
|
+ ASSERT(!bio_flagged(bio, BIO_CLONED));
|
|
|
bio_for_each_segment_all(bvec, bio, i) {
|
|
|
ret = __readpage_endio_check(inode, io_bio, i, bvec->bv_page,
|
|
|
bvec->bv_offset, done->start,
|