linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: linux-raid@vger.kernel.org
Subject: [md PATCH 00/14] Final set of patches head for 2.6.30
Date: Tue, 31 Mar 2009 15:54:42 +1100	[thread overview]
Message-ID: <20090331044827.2589.95894.stgit@notabene.brown> (raw)

Hi again,
 following are some more patches that are heading for 2.6.30.
 I'll probably send a pull request in a day or two.

 There is some overlap between this set and the previous as I
 had to significantly change
      md: add explicit method to signal the end of a reshape.
 as I found out that some things need to be done in the reshape
 thread, and some needs to be done under the mddev_lock in the
 raid5d thread.

 The main new functionality here is the ability to change chunk_size
 and layout during reshape.  This means that we can really change
 a RAID5 into a RAID6, though it needs some mdadm support to do it
 safely.

 e.g. if you write a new number of .../md/chunk_size and then write
 'reshape' to 'sync_action' it will restripe the whole array with
 the new chunk size.  If you get a system crash during this, you lose
 your data (sorry).  Mdadm will not do this for you until it is able
 to backup each few stripes while they are being reshaped so that in
 the event of a crash you can restore from backup and not lose all
 your data.

 Any review comments most welcome.

NeilBrown

---

NeilBrown (14):
      md/raid5 revise rules for when to update metadata during reshape
      md/raid5: minor code cleanups in make_request.
      md: remove CONFIG_MD_RAID_RESHAPE config option.
      md/raid5: be more careful about write ordering when reshaping.
      md: don't display meaningless values in sysfs files resync_start and sync_speed
      md/raid5: allow layout and chunksize to be changed on active array.
      md/raid5: reshape using largest of old and new chunk size
      md/raid5: prepare for allowing reshape to change layout
      md/raid5: prepare for allowing reshape to change chunksize.
      md/raid5: clearly differentiate 'before' and 'after' stripes during reshape.
      Documentation/md.txt update
      md: allow number of drives in raid5 to be reduced
      md/raid5: change reshape-progress measurement to cope with reshaping backwards.
      md: add explicit method to signal the end of a reshape.


 Documentation/md.txt |   37 +++-
 drivers/md/Kconfig   |   29 ---
 drivers/md/md.c      |   15 +
 drivers/md/md.h      |    2 
 drivers/md/raid5.c   |  506 +++++++++++++++++++++++++++++++++++---------------
 drivers/md/raid5.h   |   21 ++
 6 files changed, 411 insertions(+), 199 deletions(-)

-- 
Signature


             reply	other threads:[~2009-03-31  4:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-31  4:54 NeilBrown [this message]
2009-03-31  4:54 ` [md PATCH 02/14] md/raid5: change reshape-progress measurement to cope with reshaping backwards NeilBrown
2009-03-31  4:54 ` [md PATCH 01/14] md: add explicit method to signal the end of a reshape NeilBrown
2009-03-31  4:54 ` [md PATCH 06/14] md/raid5: prepare for allowing reshape to change chunksize NeilBrown
2009-03-31  4:54 ` [md PATCH 05/14] md/raid5: clearly differentiate 'before' and 'after' stripes during reshape NeilBrown
2009-03-31  4:54 ` [md PATCH 03/14] md: allow number of drives in raid5 to be reduced NeilBrown
2009-03-31  4:54 ` [md PATCH 04/14] Documentation/md.txt update NeilBrown
2009-03-31  4:54 ` [md PATCH 08/14] md/raid5: reshape using largest of old and new chunk size NeilBrown
2009-03-31  4:54 ` [md PATCH 07/14] md/raid5: prepare for allowing reshape to change layout NeilBrown
2009-03-31  4:54 ` [md PATCH 09/14] md/raid5: allow layout and chunksize to be changed on active array NeilBrown
2009-03-31  4:54 ` [md PATCH 11/14] md/raid5: be more careful about write ordering when reshaping NeilBrown
2009-03-31  4:54 ` [md PATCH 14/14] md/raid5 revise rules for when to update metadata during reshape NeilBrown
2009-03-31  4:54 ` [md PATCH 13/14] md/raid5: minor code cleanups in make_request NeilBrown
2009-03-31  4:54 ` [md PATCH 10/14] md: don't display meaningless values in sysfs files resync_start and sync_speed NeilBrown
2009-03-31  4:54 ` [md PATCH 12/14] md: remove CONFIG_MD_RAID_RESHAPE config option NeilBrown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090331044827.2589.95894.stgit@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).