Searched refs:reshape_sectors (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/md/
H A Draid5.c5349 int reshape_sectors; reshape_request() local
5375 reshape_sectors = mddev->new_chunk_sectors; reshape_request()
5377 reshape_sectors = mddev->chunk_sectors; reshape_request()
5392 writepos -= min_t(sector_t, reshape_sectors, writepos); reshape_request()
5393 readpos += reshape_sectors; reshape_request()
5394 safepos += reshape_sectors; reshape_request()
5396 writepos += reshape_sectors; reshape_request()
5397 readpos -= min_t(sector_t, reshape_sectors, readpos); reshape_request()
5398 safepos -= min_t(sector_t, reshape_sectors, safepos); reshape_request()
5408 ~((sector_t)reshape_sectors - 1)) reshape_request()
5409 - reshape_sectors - stripe_addr reshape_request()
5412 BUG_ON(writepos != sector_nr + reshape_sectors); reshape_request()
5469 for (i = 0; i < reshape_sectors; i += STRIPE_SECTORS) { reshape_request()
5502 conf->reshape_progress -= reshape_sectors * new_data_disks; reshape_request()
5504 conf->reshape_progress += reshape_sectors * new_data_disks; reshape_request()
5515 raid5_compute_sector(conf, ((stripe_addr+reshape_sectors) reshape_request()
5538 sector_nr += reshape_sectors; reshape_request()
5564 return reshape_sectors; reshape_request()

Completed in 79 milliseconds