Lines Matching refs:resync
5036 unsigned long resync, dt, db; in sync_speed_show() local
5039 resync = mddev->curr_mark_cnt - atomic_read(&mddev->recovery_active); in sync_speed_show()
5042 db = resync - mddev->resync_mark_cnt; in sync_speed_show()
5051 unsigned long long max_sectors, resync; in sync_completed_show() local
5066 resync = mddev->curr_resync_completed; in sync_completed_show()
5067 return sprintf(page, "%llu / %llu\n", resync, max_sectors); in sync_completed_show()
8038 sector_t max_sectors, resync, res; in status_resync() local
8050 resync = mddev->curr_resync; in status_resync()
8051 if (resync <= 3) { in status_resync()
8054 resync = max_sectors; in status_resync()
8055 } else if (resync > max_sectors) in status_resync()
8056 resync = max_sectors; in status_resync()
8058 resync -= atomic_read(&mddev->recovery_active); in status_resync()
8060 if (resync == 0) { in status_resync()
8084 if (resync < 3) { in status_resync()
8100 res = (resync>>scale)*1000; in status_resync()
8122 (unsigned long long) resync/2, in status_resync()
8152 rt = max_sectors - resync; /* number of remaining sectors */ in status_resync()