Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/md/
Ddm-cache-target.c424 struct bio *overwrite_bio; member
1140 struct bio *bio = mg->overwrite_bio; in overwrite()
1184 if (mg->overwrite_bio) { in mg_complete()
1188 mg->overwrite_bio->bi_status = mg->k.input; in mg_complete()
1190 mg->overwrite_bio->bi_status = BLK_STS_IOERR; in mg_complete()
1191 bio_endio(mg->overwrite_bio); in mg_complete()
1361 if (mg->overwrite_bio) { in mg_copy()
1367 if (!optimisable_bio(mg->cache, mg->overwrite_bio, mg->op->oblock)) { in mg_copy()
1371 bool rb = bio_detain_shared(mg->cache, mg->op->oblock, mg->overwrite_bio); in mg_copy()
1374 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()