Skip to content
Commit 48606a9f authored by NeilBrown's avatar NeilBrown
Browse files

md/raid5: correctly update sync_completed when we reach max_resync



At the end of reshape_request we update cyrr_resync_completed
if we are about to pause due to reaching resync_max.
However we update it to the wrong value.  We need to add the
"reshape_sectors" that have just been reshaped.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 7a3ab908
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