Home
last modified time | relevance | path

Searched refs:raid_bio (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/md/
H A Draid1-10.c28 void *raid_bio; member
H A Draid5.c5446 static int raid5_read_one_chunk(struct mddev *mddev, struct bio *raid_bio) in raid5_read_one_chunk() argument
5455 if (!in_chunk_boundary(mddev, raid_bio)) { in raid5_read_one_chunk()
5460 sector = raid5_compute_sector(conf, raid_bio->bi_iter.bi_sector, 0, in raid5_read_one_chunk()
5462 end_sector = sector + bio_sectors(raid_bio); in raid5_read_one_chunk()
5481 if (rdev_has_badblock(rdev, sector, bio_sectors(raid_bio))) { in raid5_read_one_chunk()
5486 md_account_bio(mddev, &raid_bio); in raid5_read_one_chunk()
5487 raid_bio->bi_next = (void *)rdev; in raid5_read_one_chunk()
5489 align_bio = bio_alloc_clone(rdev->bdev, raid_bio, GFP_NOIO, in raid5_read_one_chunk()
5492 align_bio->bi_private = raid_bio; in raid5_read_one_chunk()
5517 mddev_trace_remap(mddev, align_bio, raid_bio->bi_iter.bi_sector); in raid5_read_one_chunk()
[all …]
H A Draid1.c125 return get_resync_pages(bio)->raid_bio; in get_resync_r1bio()
195 rp->raid_bio = r1_bio; in r1buf_pool_alloc()
2260 rp->raid_bio = r1_bio; in process_checks()
H A Draid10.c102 return get_resync_pages(bio)->raid_bio; in get_resync_r10bio()
198 rp->raid_bio = r10_bio; in r10buf_pool_alloc()
2388 rp->raid_bio = r10_bio; in sync_request_write()