All of lore.kernel.org
 help / color / mirror / Atom feed
From: Liwei Song <liwei.song@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
	oe-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/8] mdadm: add udev rules to create by-partuuid for MD devices
Date: Tue, 26 Mar 2019 11:18:30 +0800	[thread overview]
Message-ID: <5C999A06.9000207@windriver.com> (raw)
In-Reply-To: <d0fe7249917de2139a9d8d577984a8476b1ce395.camel@linuxfoundation.org>



On 03/25/2019 07:55 PM, Richard Purdie wrote:
> On Wed, 2019-03-20 at 23:19 -0400, Liwei Song wrote:
>> installer use partuuid for boot and swap partition,
>> But the udev rules for MD devices do not have rules to create
>> by-partuuid under /dev/disk/, this will take 90s to wait until failed
>> add the rules to create by-partuuid to support boot from raid
>> disk with "root=PARTUUID=XXX"
>>
>> Signed-off-by: Liwei Song <liwei.song@windriver.com>
>> ---
>>  ...ev.rules-create-by-partuuid-for-md-device.patch | 29
>> ++++++++++++++++++++++
>>  meta/recipes-extended/mdadm/mdadm_4.1.bb           |  1 +
>>  2 files changed, 30 insertions(+)
>>  create mode 100644 meta/recipes-extended/mdadm/files/0001-
>> udev.rules-create-by-partuuid-for-md-device.patch
>>
>> diff --git a/meta/recipes-extended/mdadm/files/0001-udev.rules-
>> create-by-partuuid-for-md-device.patch b/meta/recipes-
>> extended/mdadm/files/0001-udev.rules-create-by-partuuid-for-md-
>> device.patch
>> new file mode 100644
>> index 000000000000..c1f7b1cf8736
>> --- /dev/null
>> +++ b/meta/recipes-extended/mdadm/files/0001-udev.rules-create-by-
>> partuuid-for-md-device.patch
>> @@ -0,0 +1,29 @@
>> +From 7d1fa6afba936edb3e211f0ccdb58b1472b4bbf4 Mon Sep 17 00:00:00
>> 2001
>> +From: Liwei Song <liwei.song@windriver.com>
>> +Date: Tue, 26 Feb 2019 07:05:42 +0000
>> +Subject: [PATCH] udev.rules: create by-partuuid for md device
>> +
>> +Create by-partuuid for every md devices.
>> +
>> +Upstream-Status: sent to linux-raid@vger.kernel.org(
>> https://www.spinics.net/lists/raid/msg62373.html)
>> +
>> +Signed-off-by: Liwei Song <liwei.song@windriver.com>
>> +---
>> + udev-md-raid-arrays.rules | 1 +
>> + 1 file changed, 1 insertion(+)
> 
> It looks like upstream had concerns about this so I'd like to hold off
> on this until those are resolved.

No problem, let's wait if other folks have more concern before it is applied.

https://www.spinics.net/lists/raid/msg62379.html

Thanks,
Liwei.


> 
> https://www.spinics.net/lists/raid/msg62376.html
> 
> Cheers,
> 
> Richard
> 
> 
> 


  reply	other threads:[~2019-03-26  3:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-21  3:19 [PATCH 0/8] changes to allow boot/install from/to virtual raid disk Liwei Song
2019-03-21  3:19 ` [PATCH 1/8] mdadm: add mdmon service to support Intel VROC Liwei Song
2019-03-21  3:19 ` [PATCH 2/8] mdadm: add udev rules to create by-partuuid for MD devices Liwei Song
2019-03-25 11:55   ` Richard Purdie
2019-03-26  3:18     ` Liwei Song [this message]
2019-03-21  3:19 ` [PATCH 3/8] udev-extraconf: move md* and dm* from mount blacklist Liwei Song
2019-03-21  3:19 ` [PATCH 4/8] initramfs-framework: mount efivarfs to make Intel VROC work well Liwei Song
2019-03-21  3:19 ` [PATCH 5/8] initramfs-framework: add lvm module Liwei Song
2019-03-21  3:19 ` [PATCH 6/8] init-install: add support for install image to Intel VROC raid disk Liwei Song
2019-03-21  3:19 ` [PATCH 7/8] init-install: fix a typo which will led delete section failed when use sed Liwei Song
2019-03-21  3:19 ` [PATCH 8/8] oe-core: add ledmon to support Intel VROC Liwei Song
2019-03-21 23:32   ` Richard Purdie
2019-03-22  1:44     ` Liwei Song

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=5C999A06.9000207@windriver.com \
    --to=liwei.song@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.