Searched refs:wbio (Results 1 – 2 of 2) sorted by relevance
2319 struct bio *wbio; in sync_request_write() local2344 wbio = r1_bio->bios[i]; in sync_request_write()2345 if (wbio->bi_end_io == NULL || in sync_request_write()2346 (wbio->bi_end_io == end_sync_read && in sync_request_write()2355 wbio->bi_opf = REQ_OP_WRITE; in sync_request_write()2357 wbio->bi_opf |= MD_FAILFAST; in sync_request_write()2359 wbio->bi_end_io = end_sync_write; in sync_request_write()2362 submit_bio_noacct(wbio); in sync_request_write()2494 struct bio *wbio; in narrow_write_error() local2500 wbio = bio_alloc_clone(rdev->bdev, in narrow_write_error()[all …]
2544 struct bio *wbio = r10_bio->devs[1].bio; in recovery_request_write() local2556 if (wbio->bi_end_io) in recovery_request_write()2568 if (wbio->bi_end_io) { in recovery_request_write()2570 submit_bio_noacct(wbio); in recovery_request_write()2794 struct bio *wbio; in narrow_write_error() local2799 wbio = bio_alloc_clone(rdev->bdev, bio, GFP_NOIO, in narrow_write_error()2801 bio_trim(wbio, sector - bio->bi_iter.bi_sector, sectors); in narrow_write_error()2803 wbio->bi_iter.bi_sector = wsector + in narrow_write_error()2805 wbio->bi_opf = REQ_OP_WRITE; in narrow_write_error()2807 if (submit_bio_wait(wbio) && in narrow_write_error()[all …]