Lines Matching defs:resync

35          or stopping, or resync starting or stopping
73 [ACTION_RESYNC] = "resync",
2816 * During reshape/resync it might use array-addresses rather
2870 * so it can be re-added without a resync.
4065 * - array is not engaged in resync/recovery/reshape
4551 * no resync can happen. no superblocks get written.
4557 * When written to inactive array, starts without resync
4563 * fully active: IO and resync can be happening.
4564 * When written to inactive array, starts with resync
5093 * Check if any sync operation (resync/recover/reshape) is
5482 /* force parallel resync, even with shared block devices */
5490 unsigned long resync, dt, db;
5493 resync = mddev->curr_mark_cnt - atomic_read(&mddev->recovery_active);
5496 db = resync - mddev->resync_mark_cnt;
5505 unsigned long long max_sectors, resync;
5520 resync = mddev->curr_resync_completed;
5521 return sprintf(page, "%llu / %llu\n", resync, max_sectors);
5833 ret = sprintf(page, "resync\n");
6736 /* Kick recovery or resync if necessary */
7775 * consider changing this number if no resync or reconstruction is
8602 sector_t max_sectors, resync, res;
8614 resync = mddev->curr_resync;
8615 if (resync < MD_RESYNC_ACTIVE) {
8618 resync = max_sectors;
8619 } else if (resync > max_sectors) {
8620 resync = max_sectors;
8626 * ensure the status reports an active resync.
8628 if (resync < res || resync - res < MD_RESYNC_ACTIVE)
8629 resync = MD_RESYNC_ACTIVE;
8631 resync -= res;
8634 if (resync == MD_RESYNC_NONE) {
8658 if (resync < MD_RESYNC_ACTIVE) {
8664 /* Pick 'scale' such that (resync>>scale)*1000 will fit
8674 res = (resync>>scale)*1000;
8694 "resync" : "recovery"))),
8696 (unsigned long long) resync/2,
8711 * near the end of resync when the number of remaining sectors
8726 rt = max_sectors - resync; /* number of remaining sectors */
9452 * Before starting a resync we must have set curr_resync to
9891 /* Mustn't remove devices when resync thread is running */
9936 /* Check if resync is in progress. */
9961 /* Delay to choose resync/check/repair in md_do_sync(). */
10013 "reshape" : "resync";
10017 pr_warn("%s: could not start resync thread...\n",
10062 /* resync/recovery still happening */
10121 * deal with generic issues like resync and super-block update.
10125 * It does not do any resync itself, but rather "forks" off other threads
10127 * When it is determined that resync is needed, we set MD_RECOVERY_RUNNING in
10139 * 6/ If array has spares or is not in-sync, start a resync thread.
10270 /* resync has finished, collect result */
10555 * perform resync with the new activated disk */