]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.h
grow: don't wait forever for critical section to pass.
authorNeilBrown <neilb@suse.de>
Wed, 1 Apr 2009 01:26:08 +0000 (12:26 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 1 Apr 2009 01:26:08 +0000 (12:26 +1100)
commit93ecfa01d47f992a41694ef8c75f6e542bb5ffee
tree639b88981e0abc646fc8d921d00b8e1d8b1bd375
parentb9d77223eb68a211410131b5b0895c547a6d5734
grow: don't wait forever for critical section to pass.

If an array reshape completed within 1 second, then --grow will not
notice that it has finished and will keep waiting for the critical
section to pass.

So be more cautious in the test.

Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c
mdadm.h
sysfs.c