diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-09-28 21:12:06 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-10-15 23:15:51 +0200 |
commit | 7146ec6a1efbd36087c406d0fe63480ec49da599 (patch) | |
tree | e9e221084e3849858b81887aeb8b18c33582e5c6 /mdadm.8 | |
parent | --wait-clean: shorten timeout (diff) | |
download | mdadm-7146ec6a1efbd36087c406d0fe63480ec49da599.tar.xz mdadm-7146ec6a1efbd36087c406d0fe63480ec49da599.zip |
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.8 | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -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 |