Skip to content
Commit 0e6e0271 authored by NeilBrown's avatar NeilBrown
Browse files

md/raid5: fix bug in reshape code when chunk_size decreases.



Now that we support changing the chunksize, we calculate
"reshape_sectors" to be the max of number of sectors in old
and new chunk size.
However there is one please where we still use 'chunksize'
rather than 'reshape_sectors'.
This causes a reshape that reduces the size of chunks to freeze.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent a8c906ca
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment