Home
last modified time | relevance | path

Searched refs:read_bio (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/md/
H A Draid10.c1153 struct bio *read_bio; in raid10_read_request() local
1228 read_bio = bio_alloc_clone(rdev->bdev, bio, gfp, &mddev->bio_set); in raid10_read_request()
1230 r10_bio->devs[slot].bio = read_bio; in raid10_read_request()
1233 read_bio->bi_iter.bi_sector = r10_bio->devs[slot].addr + in raid10_read_request()
1235 read_bio->bi_end_io = raid10_end_read_request; in raid10_read_request()
1236 read_bio->bi_opf = op | do_sync; in raid10_read_request()
1239 read_bio->bi_opf |= MD_FAILFAST; in raid10_read_request()
1240 read_bio->bi_private = r10_bio; in raid10_read_request()
1241 mddev_trace_remap(mddev, read_bio, r10_bio->sector); in raid10_read_request()
1242 submit_bio_noacct(read_bio); in raid10_read_request()
[all …]
H A Draid1.c1321 struct bio *read_bio; in raid1_read_request() local
1403 read_bio = bio_alloc_clone(mirror->rdev->bdev, bio, gfp, in raid1_read_request()
1406 r1_bio->bios[rdisk] = read_bio; in raid1_read_request()
1408 read_bio->bi_iter.bi_sector = r1_bio->sector + in raid1_read_request()
1410 read_bio->bi_end_io = raid1_end_read_request; in raid1_read_request()
1411 read_bio->bi_opf = op | do_sync; in raid1_read_request()
1414 read_bio->bi_opf |= MD_FAILFAST; in raid1_read_request()
1415 read_bio->bi_private = r1_bio; in raid1_read_request()
1416 mddev_trace_remap(mddev, read_bio, r1_bio->sector); in raid1_read_request()
1417 submit_bio_noacct(read_bio); in raid1_read_request()