Searched refs:wbio (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/md/ |
D | raid1.c | 2231 struct bio *wbio; in sync_request_write() local 2246 wbio = r1_bio->bios[i]; in sync_request_write() 2247 if (wbio->bi_end_io == NULL || in sync_request_write() 2248 (wbio->bi_end_io == end_sync_read && in sync_request_write() 2257 bio_set_op_attrs(wbio, REQ_OP_WRITE, 0); in sync_request_write() 2259 wbio->bi_opf |= MD_FAILFAST; in sync_request_write() 2261 wbio->bi_end_io = end_sync_write; in sync_request_write() 2263 md_sync_acct(conf->mirrors[i].rdev->bdev, bio_sectors(wbio)); in sync_request_write() 2265 submit_bio_noacct(wbio); in sync_request_write() 2408 struct bio *wbio; in narrow_write_error() local [all …]
|
D | raid10.c | 2612 struct bio *wbio, *wbio2; in recovery_request_write() local 2625 wbio = r10_bio->devs[1].bio; in recovery_request_write() 2633 if (wbio->bi_end_io) { in recovery_request_write() 2635 md_sync_acct(conf->mirrors[d].rdev->bdev, bio_sectors(wbio)); in recovery_request_write() 2636 submit_bio_noacct(wbio); in recovery_request_write() 2925 struct bio *wbio; in narrow_write_error() local 2930 wbio = bio_alloc_clone(rdev->bdev, bio, GFP_NOIO, in narrow_write_error() 2932 bio_trim(wbio, sector - bio->bi_iter.bi_sector, sectors); in narrow_write_error() 2934 wbio->bi_iter.bi_sector = wsector + in narrow_write_error() 2936 bio_set_op_attrs(wbio, REQ_OP_WRITE, 0); in narrow_write_error() [all …]
|