linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: John Robinson <john.robinson@anonymous.org.uk>
Cc: linux raid <linux-raid@vger.kernel.org>
Subject: Re: Subject: Raid0 Reshape . Preface
Date: Thu, 18 Jun 2009 08:31:25 +1000	[thread overview]
Message-ID: <19001.28349.151553.26110@notabene.brown> (raw)
In-Reply-To: message from John Robinson on Wednesday June 17

On Wednesday June 17, john.robinson@anonymous.org.uk wrote:
> On Wed, June 17, 2009 12:55 pm, Neil Brown wrote:
> >  The more I think about it, the more I feel I would prefer to use the
> >  raid5 module for all restriping.
> 
> That doesn't make sense to me, for various reasons including those for
> having separate RAID personality modules in the first place. On the other
> hand, if you're keeping the raid0 module simple, perhaps the raid5 module
> could also be simplified and all objectives could be served by shipping
> out all restriping to a new, separate restriping module? Or even to
> userspace?

The enhancements needed to raid5 to make is able to handle reshaping a
raid0 are either minor, or are ones that we want eventually any way.
Given that, there seems little point implementing the same thing in
two different ways.

I have occasionally thought that it would be nice if all the "Reshape"
code could be separated out of raid5 as it is not used very often.
However I suspect that you would find that it isn't very much code as
it shares a lot with resync and normal raid5 processing.

Striping it out into user-space is also tempting.  The tricky bit
would be deciding on the interface - exactly how much to leave in the
kernel and how much to takeout.  It might be an interesting exercise.
It's hard to know if it would be productive or not.

NeilBrown

  reply	other threads:[~2009-06-17 22:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-16 21:51 Subject: Raid0 Reshape . Preface raz ben yehuda
2009-06-17 11:55 ` Neil Brown
2009-06-17 12:17   ` John Robinson
2009-06-17 22:31     ` Neil Brown [this message]
2009-06-21 18:19       ` Bill Davidsen

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=19001.28349.151553.26110@notabene.brown \
    --to=neilb@suse.de \
    --cc=john.robinson@anonymous.org.uk \
    --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).