From: "H. Peter Anvin" <hpa@zytor.com>
To: SandeepKsinha <sandeepksinha@gmail.com>
Cc: Linux RAID <linux-raid@vger.kernel.org>
Subject: Re: RAID4 and RAID5 Code
Date: Fri, 15 May 2009 09:08:36 -0700 [thread overview]
Message-ID: <4A0D9384.1020805@zytor.com> (raw)
In-Reply-To: <37d33d830905140957q6e180d89v4cd4a21d23471481@mail.gmail.com>
SandeepKsinha wrote:
> Hi all,
>
> Looks like we have the same code for RAID 4 and RAID 5, I could see
> the same make_request for both.
>
> Can someone point me in the code, where exactly we differentiate
> between these two. i.e updating checksum block, etc.
>
RAID 4 is really nothing but a block layout algorithm for RAID 5 (which
has four more block layout algorithms.) RAID 6 contains all five under
one "level".
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
next prev parent reply other threads:[~2009-05-15 16:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-14 16:57 RAID4 and RAID5 Code SandeepKsinha
2009-05-15 1:23 ` Neil Brown
2009-05-15 16:08 ` H. Peter Anvin [this message]
2009-05-15 16:14 ` SandeepKsinha
2009-05-15 16:19 ` H. Peter Anvin
[not found] ` <4A0DB688.7050301@harddata.com>
2009-05-16 4:32 ` SandeepKsinha
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=4A0D9384.1020805@zytor.com \
--to=hpa@zytor.com \
--cc=linux-raid@vger.kernel.org \
--cc=sandeepksinha@gmail.com \
/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).