linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Checkpointing fixes
@ 2011-03-11 11:59 Adam Kwolek
  2011-03-11 11:59 ` [PATCH 1/2] FIX: Last_checkpoint has to be initialized in per disk units Adam Kwolek
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Adam Kwolek @ 2011-03-11 11:59 UTC (permalink / raw)
  To: neilb; +Cc: linux-raid, dan.j.williams, ed.ciechanowski, wojciech.neubauer

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-14  7:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-11 11:59 [PATCH 0/2] Checkpointing fixes Adam Kwolek
2011-03-11 11:59 ` [PATCH 1/2] FIX: Last_checkpoint has to be initialized in per disk units Adam Kwolek
2011-03-11 11:59 ` [PATCH 2/2] imsm: FIX: Store checkpoint " Adam Kwolek
2011-03-14  7:22 ` [PATCH 0/2] Checkpointing fixes NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).