Home
last modified time | relevance | path

Searched refs:overwrite_bio (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/md/
Ddm-cache-target.c502 struct bio *overwrite_bio; member
1231 struct bio *bio = mg->overwrite_bio; in overwrite()
1275 if (mg->overwrite_bio) { in mg_complete()
1279 mg->overwrite_bio->bi_status = mg->k.input; in mg_complete()
1281 mg->overwrite_bio->bi_status = BLK_STS_IOERR; in mg_complete()
1282 bio_endio(mg->overwrite_bio); in mg_complete()
1451 if (mg->overwrite_bio) { in mg_copy()
1457 if (!optimisable_bio(mg->cache, mg->overwrite_bio, mg->op->oblock)) { in mg_copy()
1461 bool rb = bio_detain_shared(mg->cache, mg->op->oblock, mg->overwrite_bio); in mg_copy()
1463 mg->overwrite_bio = NULL; in mg_copy()
[all …]
Ddm-clone-target.c520 struct bio *overwrite_bio; member
666 hd->overwrite_bio = NULL; in hydration_init()
723 if (hd->overwrite_bio) in hydration_complete()
724 complete_overwrite_bio(clone, hd->overwrite_bio); in hydration_complete()
730 if (hd->overwrite_bio) in hydration_complete()
731 bio_list_add(&hd->deferred_bios, hd->overwrite_bio); in hydration_complete()
832 hd->overwrite_bio = bio; in hydration_overwrite()