Lines Matching defs:clean
2793 /* just a clean<-> dirty transition, possibly leave spares alone,
2814 /* If this is just a dirty<->clean transition, and the array is clean
2815 * and 'events' is odd, we can roll back to the previous clean state */
4098 * clean->dirty
4389 * like readonly, but behaves like 'clean' on a write request.
4391 * clean - no pending writes, but otherwise active.
4402 * clean, but writes are blocked waiting for 'active' to be written.
4408 * RAID0/LINEAR-only: same as clean, but array is missing a member.
4413 enum array_state { clear, inactive, suspended, readonly, read_auto, clean, active,
4416 "clear", "inactive", "suspended", "readonly", "read-auto", "clean", "active",
4446 st = clean;
4454 if (test_bit(MD_BROKEN, &mddev->flags) && st == clean)
4477 if (mddev->pers && (st == active || st == clean) && mddev->ro != 1) {
4479 * clean and active
4487 } else /* st == clean */ {
4541 case clean:
9235 * 3/ If recovery has finished, clean up, possibly marking spares active.