Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Draid1-10.c27 void *raid_bio; member
Draid5.c5502 static int raid5_read_one_chunk(struct mddev *mddev, struct bio *raid_bio) in raid5_read_one_chunk() argument
5512 if (!in_chunk_boundary(mddev, raid_bio)) { in raid5_read_one_chunk()
5517 sector = raid5_compute_sector(conf, raid_bio->bi_iter.bi_sector, 0, in raid5_read_one_chunk()
5519 end_sector = bio_end_sector(raid_bio); in raid5_read_one_chunk()
5540 if (is_badblock(rdev, sector, bio_sectors(raid_bio), &first_bad, in raid5_read_one_chunk()
5546 align_bio = bio_alloc_clone(rdev->bdev, raid_bio, GFP_NOIO, in raid5_read_one_chunk()
5549 raid_bio->bi_next = (void *)rdev; in raid5_read_one_chunk()
5550 if (blk_queue_io_stat(raid_bio->bi_bdev->bd_disk->queue)) in raid5_read_one_chunk()
5551 md_io_acct->start_time = bio_start_io_acct(raid_bio); in raid5_read_one_chunk()
5552 md_io_acct->orig_bio = raid_bio; in raid5_read_one_chunk()
[all …]
Draid1.c127 return get_resync_pages(bio)->raid_bio; in get_resync_r1bio()
197 rp->raid_bio = r1_bio; in r1buf_pool_alloc()
2170 rp->raid_bio = r1_bio; in process_checks()
Draid10.c103 return get_resync_pages(bio)->raid_bio; in get_resync_r10bio()
199 rp->raid_bio = r10_bio; in r10buf_pool_alloc()
2472 rp->raid_bio = r10_bio; in sync_request_write()