Lines Matching refs:wbio
2621 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()
2950 if (submit_bio_wait(wbio) < 0) in narrow_write_error()
2956 bio_put(wbio); in narrow_write_error()