]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdstat.c
Grow: use mdstat_wait to wait for delayed reshape.
authorNeilBrown <neilb@suse.de>
Wed, 10 Jul 2013 01:10:54 +0000 (11:10 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 10 Jul 2013 01:10:54 +0000 (11:10 +1000)
commita7a0d8a116c11b2208e70fd4dcc8ab920e472b8b
treed94673f83ff101594347bbc2450698d0dc688493
parentb4924f46c04262e7e80aac27acc5848066393c52
Grow: use mdstat_wait to wait for delayed reshape.

Having a fix time for a wait is clumsy and can make us
wait much too long.
So use mdstat_wait and keep the mdstat_fd open.
This requires an 'mdstat_close' so it doesn't stay open
forever.

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