linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jes Sorensen <jes@trained-monkey.org>
To: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: [PATCH 1/2] Create, Build: use default_layout()
Date: Mon, 4 Apr 2022 21:21:06 -0400	[thread overview]
Message-ID: <93089351-2e02-e647-f2ff-d9cfa1a2d85b@trained-monkey.org> (raw)
In-Reply-To: <20220120121833.16055-2-mariusz.tkaczyk@linux.intel.com>

On 1/20/22 07:18, Mariusz Tkaczyk wrote:
> This code is duplicated for Build mode so make default_layout() extern
> and use it. Simplify the function structure.
> 
> It introduced change for Build mode, now for raid0 RAID0_ORIG_LAYOUT
> will be returned same as for Create.
> 
> Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
> ---
>  Build.c  | 23 +------------------
>  Create.c | 67 ++++++++++++++++++++++++++++++++++----------------------
>  mdadm.h  |  1 +
>  3 files changed, 43 insertions(+), 48 deletions(-)

Looks good, applied!

Thanks,
Jes



  reply	other threads:[~2022-04-05  2:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-20 12:18 [PATCH 0/2] Add map_num_s Mariusz Tkaczyk
2022-01-20 12:18 ` [PATCH 1/2] Create, Build: use default_layout() Mariusz Tkaczyk
2022-04-05  1:21   ` Jes Sorensen [this message]
2022-01-20 12:18 ` [PATCH 2/2] mdadm: add map_num_s() Mariusz Tkaczyk
2022-04-05  1:32   ` Jes Sorensen
2022-04-05  8:28     ` Mariusz Tkaczyk
2022-03-22 15:28 ` [PATCH 0/2] Add map_num_s Mariusz Tkaczyk

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=93089351-2e02-e647-f2ff-d9cfa1a2d85b@trained-monkey.org \
    --to=jes@trained-monkey.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=mariusz.tkaczyk@linux.intel.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).