Searched refs:resync_max_sectors (Results 1 – 1 of 1) sorted by relevance
3440 enum sync_state state, sector_t resync_max_sectors) in rs_get_progress() argument3449 r = resync_max_sectors; in rs_get_progress()3458 if (state == st_idle && r >= resync_max_sectors) { in rs_get_progress()3517 return min(r, resync_max_sectors); in rs_get_progress()3537 sector_t progress, resync_max_sectors, resync_mismatches; in raid_status() local3553 resync_max_sectors = test_bit(RT_FLAG_RS_PRERESUMED, &rs->runtime_flags) ? in raid_status()3554 mddev->resync_max_sectors : mddev->dev_sectors; in raid_status()3557 progress = rs_get_progress(rs, recovery, state, resync_max_sectors); in raid_status()3578 (unsigned long long) resync_max_sectors); in raid_status()4093 mddev->resync_max_sectors = mddev->dev_sectors; in raid_preresume()