Searched refs:raid_bio (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/md/ |
H A D | raid5.c | 4810 static int chunk_aligned_read(struct mddev *mddev, struct bio * raid_bio) chunk_aligned_read() argument 4818 if (!in_chunk_boundary(mddev, raid_bio)) { chunk_aligned_read() 4825 align_bi = bio_clone_mddev(raid_bio, GFP_NOIO, mddev); chunk_aligned_read() 4833 align_bi->bi_private = raid_bio; chunk_aligned_read() 4838 raid5_compute_sector(conf, raid_bio->bi_iter.bi_sector, chunk_aligned_read() 4859 raid_bio->bi_next = (void*)rdev; chunk_aligned_read() 4886 raid_bio->bi_iter.bi_sector); chunk_aligned_read() 5659 static int retry_aligned_read(struct r5conf *conf, struct bio *raid_bio) retry_aligned_read() argument 5668 * We *know* that this entire raid_bio is in one chunk, so retry_aligned_read() 5678 logical_sector = raid_bio->bi_iter.bi_sector & retry_aligned_read() 5682 last_sector = bio_end_sector(raid_bio); retry_aligned_read() 5689 if (scnt < raid5_bi_processed_stripes(raid_bio)) retry_aligned_read() 5697 raid5_set_bi_processed_stripes(raid_bio, scnt); retry_aligned_read() 5698 conf->retry_read_aligned = raid_bio; retry_aligned_read() 5702 if (!add_stripe_bio(sh, raid_bio, dd_idx, 0, 0)) { retry_aligned_read() 5704 raid5_set_bi_processed_stripes(raid_bio, scnt); retry_aligned_read() 5705 conf->retry_read_aligned = raid_bio; retry_aligned_read() 5714 remaining = raid5_dec_bi_active_stripes(raid_bio); retry_aligned_read() 5716 trace_block_bio_complete(bdev_get_queue(raid_bio->bi_bdev), retry_aligned_read() 5717 raid_bio, 0); retry_aligned_read() 5718 bio_endio(raid_bio, 0); retry_aligned_read()
|
Completed in 75 milliseconds