|
@@ -133,8 +133,6 @@ static int dmz_submit_bio(struct dmz_target *dmz, struct dm_zone *zone,
|
|
|
|
|
|
|
|
atomic_inc(&bioctx->ref);
|
|
atomic_inc(&bioctx->ref);
|
|
|
generic_make_request(clone);
|
|
generic_make_request(clone);
|
|
|
- if (clone->bi_status == BLK_STS_IOERR)
|
|
|
|
|
- return -EIO;
|
|
|
|
|
|
|
|
|
|
if (bio_op(bio) == REQ_OP_WRITE && dmz_is_seq(zone))
|
|
if (bio_op(bio) == REQ_OP_WRITE && dmz_is_seq(zone))
|
|
|
zone->wp_block += nr_blocks;
|
|
zone->wp_block += nr_blocks;
|