Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/md/
Draid1.c2226 struct bio *wbio; in sync_request_write() local
2241 wbio = r1_bio->bios[i]; in sync_request_write()
2242 if (wbio->bi_end_io == NULL || in sync_request_write()
2243 (wbio->bi_end_io == end_sync_read && in sync_request_write()
2252 wbio->bi_opf = REQ_OP_WRITE; in sync_request_write()
2254 wbio->bi_opf |= MD_FAILFAST; in sync_request_write()
2256 wbio->bi_end_io = end_sync_write; in sync_request_write()
2258 md_sync_acct(conf->mirrors[i].rdev->bdev, bio_sectors(wbio)); in sync_request_write()
2260 submit_bio_noacct(wbio); in sync_request_write()
2403 struct bio *wbio; in narrow_write_error() local
[all …]
Draid10.c2621 struct bio *wbio = r10_bio->devs[1].bio; in recovery_request_write() local
2633 if (wbio->bi_end_io) in recovery_request_write()
2645 if (wbio->bi_end_io) { in recovery_request_write()
2647 md_sync_acct(conf->mirrors[d].rdev->bdev, bio_sectors(wbio)); in recovery_request_write()
2648 submit_bio_noacct(wbio); in recovery_request_write()
2937 struct bio *wbio; in narrow_write_error() local
2942 wbio = bio_alloc_clone(rdev->bdev, bio, GFP_NOIO, in narrow_write_error()
2944 bio_trim(wbio, sector - bio->bi_iter.bi_sector, sectors); in narrow_write_error()
2946 wbio->bi_iter.bi_sector = wsector + in narrow_write_error()
2948 wbio->bi_opf = REQ_OP_WRITE; in narrow_write_error()
[all …]