Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/md/
Ddm-cache-target.c423 struct bio *overwrite_bio; member
1127 struct bio *bio = mg->overwrite_bio; in overwrite()
1171 if (mg->overwrite_bio) { in mg_complete()
1175 mg->overwrite_bio->bi_status = mg->k.input; in mg_complete()
1177 mg->overwrite_bio->bi_status = BLK_STS_IOERR; in mg_complete()
1178 bio_endio(mg->overwrite_bio); in mg_complete()
1347 if (mg->overwrite_bio) { in mg_copy()
1353 if (!optimisable_bio(mg->cache, mg->overwrite_bio, mg->op->oblock)) { in mg_copy()
1357 bool rb = bio_detain_shared(mg->cache, mg->op->oblock, mg->overwrite_bio); in mg_copy()
1359 mg->overwrite_bio = NULL; in mg_copy()
[all …]
Ddm-clone-target.c533 struct bio *overwrite_bio; member
685 hd->overwrite_bio = NULL; in hydration_init()
742 if (hd->overwrite_bio) in hydration_complete()
743 complete_overwrite_bio(clone, hd->overwrite_bio); in hydration_complete()
749 if (hd->overwrite_bio) in hydration_complete()
750 bio_list_add(&hd->deferred_bios, hd->overwrite_bio); in hydration_complete()
854 hd->overwrite_bio = bio; in hydration_overwrite()