diff options
author | 2009-06-09 16:32:22 +1000 | |
---|---|---|
committer | 2009-06-09 16:32:22 +1000 | |
commit | 0e6e0271a210817e202c8a4bfffbde3e3c0616d1 (patch) | |
tree | 0452e29d393b7688f09f38c98f113703d1b5cc3d /lib/flex_array.c | |
parent | md/raid5 - avoid deadlocks in get_active_stripe during reshape (diff) | |
download | wireguard-linux-0e6e0271a210817e202c8a4bfffbde3e3c0616d1.tar.xz wireguard-linux-0e6e0271a210817e202c8a4bfffbde3e3c0616d1.zip |
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: NeilBrown <neilb@suse.de>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions