public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Roy Sigurd Karlsbakk <roy@karlsbakk.net>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: raidz-like operation?
Date: Sat, 11 Jul 2009 15:59:50 +0100	[thread overview]
Message-ID: <1247324390.17811.9.camel@macbook.infradead.org> (raw)
In-Reply-To: <952FC056-F524-420A-9826-F8A287BB2139@karlsbakk.net>

On Fri, 2009-07-10 at 10:58 +0200, Roy Sigurd Karlsbakk wrote:
> I know it's not in yet, but is there a plan to implement raid-z(2)- 
> like operation? I have heard of plans to integrate with the existing  
> md-subsystem in the kernel, but I'm not sure if this will be  
> appropriate comparing this to how things are done in zfs/raid-z.

I'm currently working on the basic implementation of RAID5/RAID6 (qv).
I don't think there'll be much integration with the md subsystem --
we'll probably just shift the cunning GF arithmetic out into lib/raid6
or something, then let them both use it from there.

We do want to do full stripe writes to the RAID[56] parts, so we're
going to want to do something like falling back to RAID1 (or to a RAID5
chunk with smaller stripe length) for smaller allocations. That's
basically what you're talking about, isn't it?

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse@intel.com                              Intel Corporation


  reply	other threads:[~2009-07-11 14:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-10  8:58 raidz-like operation? Roy Sigurd Karlsbakk
2009-07-11 14:59 ` David Woodhouse [this message]
2009-07-13 23:14   ` Roy Sigurd Karlsbakk

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=1247324390.17811.9.camel@macbook.infradead.org \
    --to=dwmw2@infradead.org \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=roy@karlsbakk.net \
    /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