linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: Jonathan Brassow <jbrassow@redhat.com>
Cc: linux-raid@vger.kernel.org, agk@redhat.com
Subject: Re: [PATCH 4 of 4] DM RAID:  Add support for MD's RAID10 "far" and "offset" algorithms
Date: Mon, 7 Jan 2013 17:05:54 +1100	[thread overview]
Message-ID: <20130107170554.3764bb45@notabene.brown> (raw)
In-Reply-To: <1355769688.15326.26.camel@f16>

[-- Attachment #1: Type: text/plain, Size: 596 bytes --]

On Mon, 17 Dec 2012 12:41:28 -0600 Jonathan Brassow <jbrassow@redhat.com>
wrote:


> --- linux-upstream.orig/drivers/md/dm-raid.c
> +++ linux-upstream/drivers/md/dm-raid.c
> @@ -91,15 +91,44 @@ static struct raid_type {
>  	{"raid6_nc", "RAID6 (N continue)",		2, 4, 6, ALGORITHM_ROTATING_N_CONTINUE}
>  };
>  
> +static char *raid10_md_layout_to_format(int layout)
> +{
> +	/*
> +	 * Bit 16 and 17 stand for "offset" and "dev_stride"
> +	 * Refer to MD's raid10.c for details
> +	 */

I don't think "bit 17" is "dev_stride" any more..  "use_far_sets" ??

Thanks,
NeilBrown


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

  reply	other threads:[~2013-01-07  6:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-17 18:41 [PATCH 4 of 4] DM RAID: Add support for MD's RAID10 "far" and "offset" algorithms Jonathan Brassow
2013-01-07  6:05 ` NeilBrown [this message]
2013-01-07 20:46   ` Brassow Jonathan
2013-01-07 22:09 ` [PATCH 4 of 4 - v2] " Jonathan Brassow
2013-01-07 22:41   ` 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=20130107170554.3764bb45@notabene.brown \
    --to=neilb@suse.de \
    --cc=agk@redhat.com \
    --cc=jbrassow@redhat.com \
    --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).