Lines Matching defs:resync

35          or stopping, or resync starting or stopping
2751 * During reshape/resync it might use array-addresses rather
2805 * so it can be re-added without a resync.
4000 * - array is not engaged in resync/recovery/reshape
4386 * no resync can happen. no superblocks get written.
4392 * When written to inactive array, starts without resync
4398 * fully active: IO and resync can be happening.
4399 * When written to inactive array, starts with resync
4868 type = "resync";
4905 else if (cmd_match(page, "resync"))
5070 /* force parallel resync, even with shared block devices */
5078 unsigned long resync, dt, db;
5081 resync = mddev->curr_mark_cnt - atomic_read(&mddev->recovery_active);
5084 db = resync - mddev->resync_mark_cnt;
5093 unsigned long long max_sectors, resync;
5108 resync = mddev->curr_resync_completed;
5109 return sprintf(page, "%llu / %llu\n", resync, max_sectors);
5435 ret = sprintf(page, "resync\n");
6213 /* Kick recovery or resync if necessary */
7279 * consider changing this number if no resync or reconstruction is
8083 sector_t max_sectors, resync, res;
8095 resync = mddev->curr_resync;
8096 if (resync <= 3) {
8099 resync = max_sectors;
8100 } else if (resync > max_sectors)
8101 resync = max_sectors;
8103 resync -= atomic_read(&mddev->recovery_active);
8105 if (resync == 0) {
8129 if (resync < 3) {
8135 /* Pick 'scale' such that (resync>>scale)*1000 will fit
8145 res = (resync>>scale)*1000;
8165 "resync" : "recovery"))),
8167 (unsigned long long) resync/2,
8182 * near the end of resync when the number of remaining sectors
8197 rt = max_sectors - resync; /* number of remaining sectors */
8509 * So resync activity will cause curr_events to be smaller than
8515 * the array to appear non-idle, and resync will slow
8517 * If there is a lot of outstanding resync activity when
8520 * and resync will be slowed down even though there might
8521 * not have been non-resync activity. This will only
8524 * resync requests, and further resync activity will
8724 desc = "requested-resync";
8727 desc = "resync";
8736 * 0 == not engaged in resync at all
8738 * 1 == like 2, but have yielded to allow conflicting resync to
8740 * other == active in resync - this many blocks
8742 * Before starting a resync we must have set curr_resync to
8802 /* resync follows the size requested by the personality,
9107 /* Mustn't remove devices when resync thread is running */
9197 "resync");
9199 pr_warn("%s: could not start resync thread...\n",
9220 * deal with generic issues like resync and super-block update.
9224 * It does not do any resync itself, but rather "forks" off other threads
9226 * When it is determined that resync is needed, we set MD_RECOVERY_RUNNING in
9238 * 6/ If array has spares or is not in-sync, start a resync thread.
9340 /* resync/recovery still happening */
9424 /* resync has finished, collect result */
9686 * perform resync with the new activated disk */