md/raid5: clearly differentiate 'before' and 'after' stripes during reshape.
authorNeilBrown <neilb@suse.de>
Tue, 31 Mar 2009 04:19:03 +0000 (15:19 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 31 Mar 2009 04:19:03 +0000 (15:19 +1100)
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: NeilBrown <neilb@suse.de>

No differences found