]> git.ipfire.org Git - thirdparty/mdadm.git/commit
--wait-clean: shorten timeout
authorDan Williams <dan.j.williams@intel.com>
Sun, 28 Sep 2008 19:12:06 +0000 (12:12 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 15 Oct 2008 21:15:51 +0000 (14:15 -0700)
commit0dd3ba30aa1fbab2d7e62fca5169789ceb62b3f1
tree9eafafde61587a4635c9cb8bbfa3d9d26c7c2a86
parent593add1b56877a6881419c2496eb26dd1f82d39b
--wait-clean: shorten timeout

Set the safemode timeout to a small value to get the array marked clean as
soon as possible.  We don't write 'clean' directly as it may cause mdmon to
miss a 'write-pending' event.

Include a couple fixes to sysfs_set_safemode():
1/ 0 pad the milliseconds field
2/ workaround input truncation in the kernel

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Monitor.c
sysfs.c