• Neil Brown's avatar
    [PATCH] md: Record location of incomplete resync at shutdown and restart from there. · dc50fd2c
    Neil Brown authored
    Add a new field to the md superblock, in an used area, to record where
    resync was up-to on a clean shutdown while resync is active.  Restart from
    this point.
    
    The extra field is verified by having a second copy of the event counter.
    If the second event counter is wrong, we ignore the extra field.
    
    This patch thanks to  Angus Sawyer <angus.sawyer@dsl.pipex.com>
    dc50fd2c
raid1.c 29.9 KB