Linux RAID subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/6] Reshape fixes (expansion)
@ 2011-02-08 13:30 Adam Kwolek
  2011-02-08 13:30 ` [PATCH 1/6] imsm: FIX: Wrong output string format Adam Kwolek
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Adam Kwolek @ 2011-02-08 13:30 UTC (permalink / raw)
  To: neilb; +Cc: linux-raid, dan.j.williams, ed.ciechanowski, wojciech.neubauer

The following series adds some fixes for reshape (expansion).

A while ago mdadm unit tests (suits 12 and 13) works correctly, now I've found problems.
I've learned that containers created for raid5 and raid0 has different number of blocks in mdstat.
I've put mdstat partial output to patch description:  UT FIX: imsm container can have different blocks number
I'm not 100% sure that this is fix (for changed behavior), not workaround for container creation problem.
This fix is first of fixes (3) that enables reshape (12, 13) UT.
If you find this more as workaround, this patch is good point for discussion what change is correct.

Patches:
      FIX: compare blocks on all data disks
      FIX: Compare the same units
makes changes for blocks computing verification. After those 2 more  patches UT (12, 13) works. 
Please let me know what you are thinking about them. It is possible that this is not final patch also,
but I've tried to find out what this condition should do, and change code to archive it (IMHO).

Rest of patches addresses other issues, I can observe during expansion.

BR
Adam

---

Adam Kwolek (6):
      FIX: md runs recovery instead reshape for growing single disk raid0 array
      FIX: Container can be left frozen
      FIX: compare blocks on all data disks
      FIX: Compare the same units
      UT FIX: imsm container can have different blocks number
      imsm: FIX: Wrong output string format


 Grow.c                  |    9 +++++++--
 super-intel.c           |    4 ++--
 tests/env-imsm-template |    2 +-
 3 files changed, 10 insertions(+), 5 deletions(-)

-- 
Signature

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

end of thread, other threads:[~2011-02-09  7:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-08 13:30 [PATCH 0/6] Reshape fixes (expansion) Adam Kwolek
2011-02-08 13:30 ` [PATCH 1/6] imsm: FIX: Wrong output string format Adam Kwolek
2011-02-08 13:30 ` [PATCH 2/6] UT FIX: imsm container can have different blocks number Adam Kwolek
2011-02-08 13:30 ` [PATCH 3/6] FIX: Compare the same units Adam Kwolek
2011-02-08 13:31 ` [PATCH 4/6] FIX: compare blocks on all data disks Adam Kwolek
2011-02-08 13:31 ` [PATCH 5/6] FIX: Container can be left frozen Adam Kwolek
2011-02-08 13:31 ` [PATCH 6/6] FIX: md runs recovery instead reshape for growing single disk raid0 array Adam Kwolek
2011-02-09  3:10 ` [PATCH 0/6] Reshape fixes (expansion) NeilBrown
2011-02-09  7:31   ` Kwolek, Adam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox