Grow: fix hang when reshape completes too fast
authorDan Williams <dan.j.williams@intel.com>
Sun, 12 Apr 2009 07:58:28 +0000 (00:58 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 12 Apr 2009 07:58:28 +0000 (00:58 -0700)
commit48924014b02dd0e8046f58a4c6c9a2903a9b1dbd
tree4623763c272cab1496fff40da3298bfb7507d48c
parent506ffd1e0bd08cc74f5177d4f4db7c66d7724f6a
Grow: fix hang when reshape completes too fast

For short reshapes the kernel may be done before mdadm can check that
progress has passed the critical section.

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