aboutsummaryrefslogtreecommitdiff
path: root/kernel/smpboot.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2015-07-17 11:57:30 +1000
committerNeilBrown <neilb@suse.com>2015-08-31 19:37:03 +0200
commita4a3d26d8757a30ae21724d8b0d79e00e113c38d (patch)
tree54c19c92e26fe9d7f4d4b51c998a7ad89b3c76ad /kernel/smpboot.h
parentc74c0d760e30f56f9699dc180036ca37993d1c58 (diff)
md: set MD_RECOVERY_RECOVER when starting a degraded array.
This ensures that 'sync_action' will show 'recover' immediately the array is started. If there is no spare the status will change to 'idle' once that is detected. Clear MD_RECOVERY_RECOVER for a read-only array to ensure this change happens. This allows scripts which monitor status not to get confused - particularly my test scripts. Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'kernel/smpboot.h')
0 files changed, 0 insertions, 0 deletions