Lines Matching full:resync
35 or stopping, or resync starting or stopping
73 [ACTION_RESYNC] = "resync",
2832 * During reshape/resync it might use array-addresses rather in md_update_sb()
2886 * so it can be re-added without a resync. in md_update_sb()
4080 * - array is not engaged in resync/recovery/reshape in level_store()
4571 * no resync can happen. no superblocks get written.
4577 * When written to inactive array, starts without resync
4583 * fully active: IO and resync can be happening.
4584 * When written to inactive array, starts with resync
5117 * Check if any sync operation (resync/recover/reshape) is in md_sync_action()
5515 /* force parallel resync, even with shared block devices */
5523 unsigned long resync, dt, db; in sync_speed_show() local
5526 resync = mddev->curr_mark_cnt - atomic_read(&mddev->recovery_active); in sync_speed_show()
5529 db = resync - mddev->resync_mark_cnt; in sync_speed_show()
5538 unsigned long long max_sectors, resync; in sync_completed_show() local
5553 resync = mddev->curr_resync_completed; in sync_completed_show()
5554 return sprintf(page, "%llu / %llu\n", resync, max_sectors); in sync_completed_show()
5866 ret = sprintf(page, "resync\n"); in consistency_policy_show()
6960 /* Kick recovery or resync if necessary */ in restart_array()
8004 * consider changing this number if no resync or reconstruction is in update_size()
8844 sector_t max_sectors, resync, res; in status_resync() local
8856 resync = mddev->curr_resync; in status_resync()
8857 if (resync < MD_RESYNC_ACTIVE) { in status_resync()
8860 resync = max_sectors; in status_resync()
8861 } else if (resync > max_sectors) { in status_resync()
8862 resync = max_sectors; in status_resync()
8866 * Resync has started, but the subtraction has overflowed or in status_resync()
8868 * ensure the status reports an active resync. in status_resync()
8870 if (resync < res || resync - res < MD_RESYNC_ACTIVE) in status_resync()
8871 resync = MD_RESYNC_ACTIVE; in status_resync()
8873 resync -= res; in status_resync()
8876 if (resync == MD_RESYNC_NONE) { in status_resync()
8900 if (resync < MD_RESYNC_ACTIVE) { in status_resync()
8906 /* Pick 'scale' such that (resync>>scale)*1000 will fit in status_resync()
8916 res = (resync>>scale)*1000; in status_resync()
8936 "resync" : "recovery"))), in status_resync()
8938 (unsigned long long) resync/2, in status_resync()
8953 * near the end of resync when the number of remaining sectors in status_resync()
8968 rt = max_sectors - resync; /* number of remaining sectors */ in status_resync()
9781 * Before starting a resync we must have set curr_resync to in md_do_sync()
10178 /* Mustn't remove devices when resync thread is running */ in remove_and_add_spares()
10223 /* Check if resync is in progress. */ in md_choose_sync_action()
10248 /* Delay to choose resync/check/repair in md_do_sync(). */ in md_choose_sync_action()
10315 "reshape" : "resync"; in md_start_sync()
10319 pr_warn("%s: could not start resync thread...\n", in md_start_sync()
10368 /* resync/recovery still happening */ in unregister_sync_thread()
10427 * deal with generic issues like resync and super-block update.
10431 * It does not do any resync itself, but rather "forks" off other threads
10433 * When it is determined that resync is needed, we set MD_RECOVERY_RUNNING in
10445 * 6/ If array has spares or is not in-sync, start a resync thread.
10576 /* resync has finished, collect result */ in md_reap_sync_thread()
10856 * perform resync with the new activated disk */ in check_sb_changes()