linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/13] OLCE for external meta Raid5/single array
@ 2011-01-10 11:27 Adam Kwolek
  2011-01-10 11:27 ` [PATCH 01/13] Manage reshape process in manage_reshape vector Adam Kwolek
                   ` (12 more replies)
  0 siblings, 13 replies; 27+ messages in thread
From: Adam Kwolek @ 2011-01-10 11:27 UTC (permalink / raw)
  To: neilb; +Cc: linux-raid, dan.j.williams, ed.ciechanowski, wojciech.neubauer

This patches enables raid5/single array Online Capacity Expansion using container operation.
I've decided to post smaller series to allow us for closer/adaptive work.

Main changes in code:
- metadata is reloaded between reshape_super() and reshape_array(), reshape_super() doesn't modify local anchor
- disk slot is set by md (index == -1), this propably has to be fixed in md
- suspend_lo has to be set to suspend_hi value after reshape to unblock array
- fixes


The main problems I can see:
- cannot add spare disks to container (add spare to raid0 works),
  I've payed no attantion for it so far as  I'm using workaround for tests: create container with bigger disks number before any array is created.
- adding disks to md with set index/slot should be fixed/investigated in md (for details look patches description)
- array cannot be opened excl. in reshape_array() 
  As I've put information in patch, it is possible caused by mdmon, I cannot see double array open operation in mdadm.
  On mdadm begin open_dev_excl() is possible.

BR
Adam

---

Adam Kwolek (13):
      FIX: Fill sys_name for disk add
      FIX: parity disks use for redundant levels only
      FIX/WORKAROUND: Arrays cannot be opened exclusively
      FIX: Cannot unmount array after reshape
      Finalize reshape after adding disks to array
      FIX/WORKAROUND: added disks are not used by reshape process /md/
      FIX: wrong flags are passed to function
      imsm: FIX: update disks status in container_contents()
      msm: FIX: when mdadm reloads anchor not need for local modyfication
      FIX: load anchor to get all information
      imsm: FIX: when monitor is active post update
      imsm: FIX: allow for container reshape any unset size value
      Manage reshape process in manage_reshape vector.


 Grow.c        |   29 +++++++++++++++++++++--------
 monitor.c     |   11 +++++++++++
 super-intel.c |   30 +++++++++++++-----------------
 3 files changed, 45 insertions(+), 25 deletions(-)

-- 
Signature

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

end of thread, other threads:[~2011-01-12 15:12 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-10 11:27 [PATCH 00/13] OLCE for external meta Raid5/single array Adam Kwolek
2011-01-10 11:27 ` [PATCH 01/13] Manage reshape process in manage_reshape vector Adam Kwolek
2011-01-12  3:51   ` NeilBrown
2011-01-10 11:27 ` [PATCH 02/13] imsm: FIX: allow for container reshape any unset size value Adam Kwolek
2011-01-12  3:52   ` NeilBrown
2011-01-12  8:32     ` Kwolek, Adam
2011-01-12 10:43       ` NeilBrown
2011-01-10 11:27 ` [PATCH 03/13] imsm: FIX: when monitor is active post update Adam Kwolek
2011-01-12  3:56   ` NeilBrown
2011-01-10 11:27 ` [PATCH 04/13] FIX: load anchor to get all information Adam Kwolek
2011-01-12  3:58   ` NeilBrown
2011-01-10 11:28 ` [PATCH 05/13] msm: FIX: when mdadm reloads anchor not need for local modyfication Adam Kwolek
2011-01-10 11:28 ` [PATCH 06/13] imsm: FIX: update disks status in container_contents() Adam Kwolek
2011-01-12  4:14   ` NeilBrown
2011-01-10 11:28 ` [PATCH 07/13] FIX: wrong flags are passed to function Adam Kwolek
2011-01-10 11:28 ` [PATCH 08/13] FIX/WORKAROUND: added disks are not used by reshape process /md/ Adam Kwolek
2011-01-12  4:39   ` NeilBrown
2011-01-10 11:28 ` [PATCH 09/13] Finalize reshape after adding disks to array Adam Kwolek
2011-01-12  4:52   ` NeilBrown
2011-01-10 11:28 ` [PATCH 10/13] FIX: Cannot unmount array after reshape Adam Kwolek
2011-01-12  4:53   ` NeilBrown
2011-01-12 15:12     ` Kwolek, Adam
2011-01-10 11:28 ` [PATCH 11/13] FIX/WORKAROUND: Arrays cannot be opened exclusively Adam Kwolek
2011-01-10 11:29 ` [PATCH 12/13] FIX: parity disks use for redundant levels only Adam Kwolek
2011-01-12  4:59   ` NeilBrown
2011-01-10 11:29 ` [PATCH 13/13] FIX: Fill sys_name for disk add Adam Kwolek
2011-01-12  5:02   ` 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).