Lines Matching refs:resync
5074 unsigned long resync, dt, db; in sync_speed_show() local
5077 resync = mddev->curr_mark_cnt - atomic_read(&mddev->recovery_active); in sync_speed_show()
5080 db = resync - mddev->resync_mark_cnt; in sync_speed_show()
5089 unsigned long long max_sectors, resync; in sync_completed_show() local
5104 resync = mddev->curr_resync_completed; in sync_completed_show()
5105 return sprintf(page, "%llu / %llu\n", resync, max_sectors); in sync_completed_show()
8077 sector_t max_sectors, resync, res; in status_resync() local
8089 resync = mddev->curr_resync; in status_resync()
8090 if (resync <= 3) { in status_resync()
8093 resync = max_sectors; in status_resync()
8094 } else if (resync > max_sectors) in status_resync()
8095 resync = max_sectors; in status_resync()
8097 resync -= atomic_read(&mddev->recovery_active); in status_resync()
8099 if (resync == 0) { in status_resync()
8123 if (resync < 3) { in status_resync()
8139 res = (resync>>scale)*1000; in status_resync()
8161 (unsigned long long) resync/2, in status_resync()
8191 rt = max_sectors - resync; /* number of remaining sectors */ in status_resync()