[PATCH 0/2] Checkpointing fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following series implements fixes for checkpointing.
I've observe that restart from checkpoint occurs too far in array (it skipped some area).
It happen due to wrong initialization of last_checkpoint field. It has to be done in per disk units,
but setting it to reshape_position value causes initialization in per array units (multiplied by number of data disks)
First patch fixes this.
To keep checkpoint calculation consistent, I've decided to do similar thing for imsm (2'nd patch) and keep checkpoints 
per disk. During reshape_progress initialization it is recalculated in to reshape position.

This patches has to be applied on my yesterdays fixes.

BR
Adam


---

Adam Kwolek (2):
      imsm: FIX: Store checkpoint in per disk units
      FIX: Last_checkpoint has to be initialized in per disk units


 managemon.c   |    9 +++++++++
 super-intel.c |    8 ++++++--
 2 files changed, 15 insertions(+), 2 deletions(-)

-- 
Signature
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux