Lines Matching refs:in_sync
1459 if (mddev->in_sync)
1938 * be in_sync with rest of array.
1975 if (mddev->in_sync)
2527 if (!mddev->in_sync) {
2532 if (!mddev->in_sync &&
2534 mddev->in_sync = 1;
2536 * Ensure ->in_sync is visible before we clear
2548 return mddev->in_sync;
2711 sync_req = mddev->in_sync;
2716 && (mddev->in_sync && mddev->recovery_cp == MaxSector)
2745 mdname(mddev), mddev->in_sync);
2786 if (mddev->in_sync != sync_req ||
2879 len += sprintf(page+len, "in_sync%s", sep);
3998 mddev->in_sync = 0;
4050 * it must always be in_sync
4052 mddev->in_sync = 1;
4341 else if (mddev->in_sync)
6009 mddev->in_sync = 1;
6174 mddev->in_sync = 0;
6209 ((!mddev->in_sync && !mddev_is_clustered(mddev)) ||
6213 mddev->in_sync = 1;
6589 if (mddev->in_sync)
8529 if (mddev->in_sync || mddev->sync_checkers) {
8531 if (mddev->in_sync) {
8532 mddev->in_sync = 0;
8568 WARN_ON_ONCE(mddev->in_sync || !md_is_rdwr(mddev));
8685 if (mddev->in_sync) {
8686 mddev->in_sync = 0;
9305 && !mddev->in_sync && mddev->recovery_cp == MaxSector)
9318 if (!mddev->external && mddev->in_sync)
9328 * - add already-in_sync devices if the array itself
9358 if (try_set_sync && !mddev->external && !mddev->in_sync) {