Lines Matching refs:reshape_progress
1007 sector_t progress = conf->reshape_progress; in use_new_offset()
5911 conf->reshape_progress)) in stripe_ahead_of_reshape()
5982 if (unlikely(conf->reshape_progress != MaxSector)) { in make_stripe_request()
5994 conf->reshape_progress)) { in make_stripe_request()
6143 (conf->reshape_progress != MaxSector) && in raid5_make_request()
6144 !ahead_of_reshape(mddev, logical_sector, conf->reshape_progress) && in raid5_make_request()
6230 conf->reshape_progress < raid5_size(mddev, 0, 0)) { in reshape_request()
6232 - conf->reshape_progress; in reshape_request()
6234 conf->reshape_progress == MaxSector) { in reshape_request()
6238 conf->reshape_progress > 0) in reshape_request()
6239 sector_nr = conf->reshape_progress; in reshape_request()
6263 writepos = conf->reshape_progress; in reshape_request()
6265 readpos = conf->reshape_progress; in reshape_request()
6288 BUG_ON(conf->reshape_progress == 0); in reshape_request()
6335 mddev->reshape_position = conf->reshape_progress; in reshape_request()
6395 conf->reshape_progress -= reshape_sectors * new_data_disks; in reshape_request()
6397 conf->reshape_progress += reshape_sectors * new_data_disks; in reshape_request()
6444 mddev->reshape_position = conf->reshape_progress; in reshape_request()
7621 conf->reshape_progress = mddev->reshape_position; in setup_conf()
7622 if (conf->reshape_progress != MaxSector) { in setup_conf()
7910 conf->reshape_progress != MaxSector) { in raid5_run()
7985 if (conf->reshape_progress != MaxSector) { in raid5_run()
7986 conf->reshape_safe = conf->reshape_progress; in raid5_run()
8217 conf->reshape_progress == MaxSector) in raid5_remove_disk()
8512 conf->reshape_progress = raid5_size(mddev, 0, 0); in raid5_start_reshape()
8514 conf->reshape_progress = 0; in raid5_start_reshape()
8515 conf->reshape_safe = conf->reshape_progress; in raid5_start_reshape()
8562 mddev->reshape_position = conf->reshape_progress; in raid5_start_reshape()
8584 conf->reshape_progress = MaxSector; in raid5_start_reshape()
8609 conf->reshape_progress = MaxSector; in end_reshape()