Searched refs:wbio (Results 1 – 2 of 2) sorted by relevance
/drivers/md/ |
D | raid1.c | 1922 struct bio *bio, *wbio; in sync_request_write() local 1939 wbio = r1_bio->bios[i]; in sync_request_write() 1940 if (wbio->bi_end_io == NULL || in sync_request_write() 1941 (wbio->bi_end_io == end_sync_read && in sync_request_write() 1946 wbio->bi_rw = WRITE; in sync_request_write() 1947 wbio->bi_end_io = end_sync_write; in sync_request_write() 1949 md_sync_acct(conf->mirrors[i].rdev->bdev, bio_sectors(wbio)); in sync_request_write() 1951 generic_make_request(wbio); in sync_request_write() 2094 struct bio *wbio; in narrow_write_error() local 2108 wbio = bio_alloc_mddev(GFP_NOIO, vcnt, mddev); in narrow_write_error() [all …]
|
D | raid10.c | 2250 struct bio *wbio, *wbio2; in recovery_request_write() local 2263 wbio = r10_bio->devs[1].bio; in recovery_request_write() 2265 if (wbio->bi_end_io) { in recovery_request_write() 2267 md_sync_acct(conf->mirrors[d].rdev->bdev, bio_sectors(wbio)); in recovery_request_write() 2268 generic_make_request(wbio); in recovery_request_write() 2577 struct bio *wbio; in narrow_write_error() local 2581 wbio = bio_clone_mddev(bio, GFP_NOIO, mddev); in narrow_write_error() 2582 md_trim_bio(wbio, sector - bio->bi_sector, sectors); in narrow_write_error() 2583 wbio->bi_sector = (r10_bio->devs[i].addr+ in narrow_write_error() 2586 wbio->bi_bdev = rdev->bdev; in narrow_write_error() [all …]
|