From: Petr Vorel <pvorel@suse.cz>
To: grub-devel@gnu.org
Cc: Petr Vorel <pvorel@suse.cz>,
Daniel Kiper <daniel.kiper@oracle.com>,
Michael Chang <mchang@suse.com>,
Mike Gilbert <floppym@gentoo.org>, Jeff Mahoney <jeffm@suse.com>
Subject: [PATCH v2 0/2] linux: use stat instead of udevadm for partition lookup
Date: Thu, 15 Jul 2021 17:35:26 +0200 [thread overview]
Message-ID: <20210715153528.16233-1-pvorel@suse.cz> (raw)
Hi,
changes v1->v2:
* remove udevadm fallback from sysfs_partition_path() as we agreed it
does not bring any advantage over plain stat() call.
* improve comment in major.h
* improve commit message
* adjust comment in configure.ac
* fix code style (spaces)
Jeff Mahoney (1):
linux/hostdisk: use stat() instead of udevadm for partition lookup
Petr Vorel (1):
osdep: Introduce major.h and use it
configure.ac | 2 +-
grub-core/osdep/devmapper/getroot.c | 7 +---
grub-core/osdep/devmapper/hostdisk.c | 7 +---
grub-core/osdep/linux/getroot.c | 7 +---
grub-core/osdep/linux/hostdisk.c | 52 ++++------------------------
grub-core/osdep/unix/getroot.c | 7 +---
include/grub/osdep/major.h | 30 ++++++++++++++++
7 files changed, 41 insertions(+), 71 deletions(-)
create mode 100644 include/grub/osdep/major.h
--
2.32.0
next reply other threads:[~2021-07-15 15:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-15 15:35 Petr Vorel [this message]
2021-07-15 15:35 ` [PATCH v2 1/2] osdep: Introduce major.h and use it Petr Vorel
2021-07-21 14:19 ` Daniel Kiper
2021-07-15 15:35 ` [PATCH v2 2/2] linux/hostdisk: use stat() instead of udevadm for partition lookup Petr Vorel
2021-07-21 14:22 ` Daniel Kiper
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=20210715153528.16233-1-pvorel@suse.cz \
--to=pvorel@suse.cz \
--cc=daniel.kiper@oracle.com \
--cc=floppym@gentoo.org \
--cc=grub-devel@gnu.org \
--cc=jeffm@suse.com \
--cc=mchang@suse.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 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.