Searched refs:wbio (Results 1 – 2 of 2) sorted by relevance
2333 struct bio *wbio; in sync_request_write() local2358 wbio = r1_bio->bios[i]; in sync_request_write()2359 if (wbio->bi_end_io == NULL || in sync_request_write()2360 (wbio->bi_end_io == end_sync_read && in sync_request_write()2369 wbio->bi_opf = REQ_OP_WRITE; in sync_request_write()2371 wbio->bi_opf |= MD_FAILFAST; in sync_request_write()2373 wbio->bi_end_io = end_sync_write; in sync_request_write()2376 submit_bio_noacct(wbio); in sync_request_write()2513 struct bio *wbio; in narrow_write_error() local2519 wbio = bio_alloc_clone(rdev->bdev, in narrow_write_error()[all …]
2551 struct bio *wbio = r10_bio->devs[1].bio; in recovery_request_write() local2563 if (wbio->bi_end_io) in recovery_request_write()2575 if (wbio->bi_end_io) { in recovery_request_write()2577 submit_bio_noacct(wbio); in recovery_request_write()2801 struct bio *wbio; in narrow_write_error() local2806 wbio = bio_alloc_clone(rdev->bdev, bio, GFP_NOIO, in narrow_write_error()2808 bio_trim(wbio, sector - bio->bi_iter.bi_sector, sectors); in narrow_write_error()2810 wbio->bi_iter.bi_sector = wsector + in narrow_write_error()2812 wbio->bi_opf = REQ_OP_WRITE; in narrow_write_error()2814 if (submit_bio_wait(wbio) && in narrow_write_error()[all …]