• N
    md/raid5: clearly differentiate 'before' and 'after' stripes during reshape. · 86b42c71
    NeilBrown 提交于
    During a raid5 reshape, we have some stripes in the cache that are
    'before' the reshape (and are still to be processed) and some that are
    'after'.  They are currently differentiated by having different
    ->disks values as the only reshape current supported involves changing
    the number of disks.
    
    However we will soon support reshapes that do not change the number
    of disks (chunk parity or chunk size).  So make the difference more
    explicit with a 'generation' number.
    Signed-off-by: NNeilBrown <neilb@suse.de>
    86b42c71
raid5.c 144.6 KB