Skip to content
  • NeilBrown's avatar
    [PATCH] md: improve 'scan_mode' and rename it to 'sync_action' · 7eec314d
    NeilBrown authored
    
    
    The current sync_action for an array can be one of
    
       idle  - nothing happening
       resync - reduncancy being recalcualted
       recover - missing device being recoverred to spare
       check   - user initiated check of redundancy
       repair  - like resync but user-initiated and ignores
                 bitmap optimisation.
    
    Each of these strings can also be written to the 'sync_action' file to cause
    that action to happen (if appropriate).
    
    While 'sync' is not technically correct, as a recovery is *not* a 'sync', I
    think it is the most servicable word here.  Also 'action' is a strong word
    than 'mode'.
    
    Signed-off-by: default avatarNeil Brown <neilb@suse.de>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    7eec314d