]> git.ipfire.org Git - thirdparty/mdadm.git/commit - sysfs.c
'mdadm --wait-clean' wait for array to be marked clean
authorDan Williams <dan.j.williams@intel.com>
Tue, 16 Sep 2008 03:58:42 +0000 (20:58 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 16 Sep 2008 03:58:42 +0000 (20:58 -0700)
commit1770662bcac724915520fd0784b6f806c8d96752
treeeadc61fbd375d5120cbe9eb1a5036967bdf0f716
parentc94709e83f662c4780aa9c6917b03c774747eca5
'mdadm --wait-clean' wait for array to be marked clean

For use in distro shutdown scripts with a RAID root file system.
Returns immediately if the array is 'readonly', or not an externally
managed array.  It is up to the distro's scripts to make sure no new
writes hit the device after this returns 'true'.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Monitor.c
ReadMe.c
mdadm.8
mdadm.c
mdadm.h
monitor.c
sysfs.c