summaryrefslogtreecommitdiffstats
path: root/scripts/gcc-ld
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2015-07-02 09:12:58 +0200
committerNeilBrown <neilb@suse.com>2015-08-31 19:29:09 +0200
commitf7851be736d58e7270f05a4ca84b16ce72734a18 (patch)
tree7bd642495fca85950a2ad76f2cec0d4ab153ae01 /scripts/gcc-ld
parentmd/raid6: delta syndrome for ARM NEON (diff)
downloadlinux-f7851be736d58e7270f05a4ca84b16ce72734a18.tar.xz
linux-f7851be736d58e7270f05a4ca84b16ce72734a18.zip
md: Keep /proc/mdstat reporting recovery until fully DONE.
Currently when a recovery completes, mdstat shows that it has finished before the new device is marked as a full member. Because of this it can appear to a script that the recovery finished but the array isn't in sync. So while MD_RECOVERY_DONE is still set, keep mdstat reporting "recovery". Once md_reap_sync_thread() completes, the spare will be active and then MD_RECOVERY_DONE will be cleared. To ensure this is race-free, set MD_RECOVERY_DONE before clearning curr_resync. Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'scripts/gcc-ld')
0 files changed, 0 insertions, 0 deletions