Lines Matching defs:resync
35 or stopping, or resync starting or stopping
2677 * During reshape/resync it might use array-addresses rather
2731 * so it can be re-added without a resync.
3944 * - array is not engaged in resync/recovery/reshape
4330 * no resync can happen. no superblocks get written.
4336 * When written to inactive array, starts without resync
4342 * fully active: IO and resync can be happening.
4343 * When written to inactive array, starts with resync
4797 type = "resync";
4879 else if (cmd_match(page, "resync"))
5044 /* force parallel resync, even with shared block devices */
5052 unsigned long resync, dt, db;
5055 resync = mddev->curr_mark_cnt - atomic_read(&mddev->recovery_active);
5058 db = resync - mddev->resync_mark_cnt;
5067 unsigned long long max_sectors, resync;
5082 resync = mddev->curr_resync_completed;
5083 return sprintf(page, "%llu / %llu\n", resync, max_sectors);
5407 ret = sprintf(page, "resync\n");
6216 /* Kick recovery or resync if necessary */
7311 * consider changing this number if no resync or reconstruction is
8125 sector_t max_sectors, resync, res;
8137 resync = mddev->curr_resync;
8138 if (resync < MD_RESYNC_ACTIVE) {
8141 resync = max_sectors;
8142 } else if (resync > max_sectors) {
8143 resync = max_sectors;
8149 * ensure the status reports an active resync.
8151 if (resync < res || resync - res < MD_RESYNC_ACTIVE)
8152 resync = MD_RESYNC_ACTIVE;
8154 resync -= res;
8157 if (resync == MD_RESYNC_NONE) {
8181 if (resync < MD_RESYNC_ACTIVE) {
8187 /* Pick 'scale' such that (resync>>scale)*1000 will fit
8197 res = (resync>>scale)*1000;
8217 "resync" : "recovery"))),
8219 (unsigned long long) resync/2,
8234 * near the end of resync when the number of remaining sectors
8249 rt = max_sectors - resync; /* number of remaining sectors */
8571 * So resync activity will cause curr_events to be smaller than
8577 * the array to appear non-idle, and resync will slow
8579 * If there is a lot of outstanding resync activity when
8582 * and resync will be slowed down even though there might
8583 * not have been non-resync activity. This will only
8586 * resync requests, and further resync activity will
8847 desc = "requested-resync";
8850 desc = "resync";
8859 * Before starting a resync we must have set curr_resync to
8926 /* resync follows the size requested by the personality,
9231 /* Mustn't remove devices when resync thread is running */
9320 md_register_thread(md_do_sync, mddev, "resync"));
9322 pr_warn("%s: could not start resync thread...\n",
9343 * deal with generic issues like resync and super-block update.
9347 * It does not do any resync itself, but rather "forks" off other threads
9349 * When it is determined that resync is needed, we set MD_RECOVERY_RUNNING in
9361 * 6/ If array has spares or is not in-sync, start a resync thread.
9468 /* resync/recovery still happening */
9556 /* resync has finished, collect result */
9825 * perform resync with the new activated disk */