summaryrefslogtreecommitdiff
path: root/mdadm.8
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-09-28 12:12:06 -0700
committerDan Williams <dan.j.williams@intel.com>2008-10-15 14:15:51 -0700
commit7146ec6a1efbd36087c406d0fe63480ec49da599 (patch)
treee9e221084e3849858b81887aeb8b18c33582e5c6 /mdadm.8
parent0dd3ba30aa1fbab2d7e62fca5169789ceb62b3f1 (diff)
downloadmdadm-7146ec6a1efbd36087c406d0fe63480ec49da599.tar.gz
Extend --wait-clean to checkpoint resync
Root file systems backed by external metadata arrays need to be explicitly checkpointed near the time the rootfs is marked readonly as userspace will not have an opportunity to react to the final shutdown of the array. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mdadm.8')
-rw-r--r--mdadm.813
1 files changed, 10 insertions, 3 deletions
diff --git a/mdadm.8 b/mdadm.8
index 881b9df..41486e6 100644
--- a/mdadm.8
+++ b/mdadm.8
@@ -1016,9 +1016,16 @@ listed, otherwise it will return failure.
.TP
.BR \-\-wait\-clean
-For each md device given, wait for the array to be marked clean before
-returning. For native arrays this returns immediately as the kernel
-handles dirty-clean transistions at shutdown.
+For each md device given, arrange for the array to be marked clean as
+soon as possible. Also, quiesce resync so that the monitor for external
+metadata arrays (mdmon) has an opportunity to checkpoint the resync
+position.
+.I mdadm
+will return with success if the array uses external metadata and we
+successfully waited. For native arrays this returns immediately as the
+kernel handles both dirty-clean transitions and resync checkpointing in
+the kernel at shutdown. No action is taken if safe-mode handling is
+disabled.
.SH For Incremental Assembly mode:
.TP