Searched refs:mbio (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/md/ |
D | raid1.c | 543 struct bio *mbio = r1_bio->master_bio; in raid1_end_write_request() local 546 (unsigned long long) mbio->bi_iter.bi_sector, in raid1_end_write_request() 547 (unsigned long long) bio_end_sector(mbio) - 1); in raid1_end_write_request() 1519 struct bio *mbio = NULL; in raid1_write_request() local 1543 mbio = bio_alloc_clone(rdev->bdev, in raid1_write_request() 1551 mbio = bio_alloc_clone(rdev->bdev, bio, GFP_NOIO, in raid1_write_request() 1558 r1_bio->bios[i] = mbio; in raid1_write_request() 1560 mbio->bi_iter.bi_sector = (r1_bio->sector + rdev->data_offset); in raid1_write_request() 1561 mbio->bi_end_io = raid1_end_write_request; in raid1_write_request() 1562 mbio->bi_opf = bio_op(bio) | (bio->bi_opf & (REQ_SYNC | REQ_FUA)); in raid1_write_request() [all …]
|
D | raid10.c | 1283 struct bio *mbio; in raid10_write_one_disk() local 1295 mbio = bio_alloc_clone(rdev->bdev, bio, GFP_NOIO, &mddev->bio_set); in raid10_write_one_disk() 1297 r10_bio->devs[n_copy].repl_bio = mbio; in raid10_write_one_disk() 1299 r10_bio->devs[n_copy].bio = mbio; in raid10_write_one_disk() 1301 mbio->bi_iter.bi_sector = (r10_bio->devs[n_copy].addr + in raid10_write_one_disk() 1303 mbio->bi_end_io = raid10_end_write_request; in raid10_write_one_disk() 1304 bio_set_op_attrs(mbio, op, do_sync | do_fua); in raid10_write_one_disk() 1308 mbio->bi_opf |= MD_FAILFAST; in raid10_write_one_disk() 1309 mbio->bi_private = r10_bio; in raid10_write_one_disk() 1312 trace_block_bio_remap(mbio, disk_devt(conf->mddev->gendisk), in raid10_write_one_disk() [all …]
|