|
@@ -1257,7 +1257,7 @@ static int mirror_end_io(struct dm_target *ti, struct bio *bio,
|
|
mempool_free(read_record, ms->read_record_pool);
|
|
mempool_free(read_record, ms->read_record_pool);
|
|
map_context->ptr = NULL;
|
|
map_context->ptr = NULL;
|
|
queue_bio(ms, bio, rw);
|
|
queue_bio(ms, bio, rw);
|
|
- return 1;
|
|
|
|
|
|
+ return DM_ENDIO_INCOMPLETE;
|
|
}
|
|
}
|
|
DMERR("All replicated volumes dead, failing I/O");
|
|
DMERR("All replicated volumes dead, failing I/O");
|
|
}
|
|
}
|