Lines Matching refs:in_sync
1506 if (mddev->in_sync)
1988 * be in_sync with rest of array.
2025 if (mddev->in_sync)
2604 if (!mddev->in_sync) {
2609 if (!mddev->in_sync &&
2611 mddev->in_sync = 1;
2613 * Ensure ->in_sync is visible before we clear
2625 return mddev->in_sync;
2786 sync_req = mddev->in_sync;
2791 && (mddev->in_sync && mddev->recovery_cp == MaxSector)
2820 mdname(mddev), mddev->in_sync);
2863 if (mddev->in_sync != sync_req ||
2956 len += sprintf(page+len, "in_sync%s", sep);
4062 mddev->in_sync = 0;
4114 * it must always be in_sync
4116 mddev->in_sync = 1;
4406 else if (mddev->in_sync)
6051 mddev->in_sync = 1;
6214 mddev->in_sync = 0;
6248 ((!mddev->in_sync && !mddev_is_clustered(mddev)) ||
6252 mddev->in_sync = 1;
6630 if (mddev->in_sync)
8524 if (mddev->in_sync || mddev->sync_checkers) {
8526 if (mddev->in_sync) {
8527 mddev->in_sync = 0;
8563 WARN_ON_ONCE(mddev->in_sync || mddev->ro);
8601 if (mddev->in_sync) {
8602 mddev->in_sync = 0;
9221 && !mddev->in_sync && mddev->recovery_cp == MaxSector)
9234 if (!mddev->external && mddev->in_sync)
9244 * - add already-in_sync devices if the array itself
9273 if (try_set_sync && !mddev->external && !mddev->in_sync) {