linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Martin Wilck <mwilck@suse.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Peter Rajnoha <prajnoha@redhat.com>, Heming Zhao <heming.zhao@suse.com>
Subject: Re: [linux-lvm] LVM autoactivation and udev
Date: Wed, 09 Mar 2022 20:48:58 +0100	[thread overview]
Message-ID: <166d9e5658f38f384a9938973a81c00c7abd75c9.camel@suse.com> (raw)
In-Reply-To: <20220309172606.GB5819@redhat.com>

On Wed, 2022-03-09 at 11:26 -0600, David Teigland wrote:
> > 
> > If we started pvscan later, in RUN, and a VG became complete,
> > instead
> > of printing the VG name to stdout, it could run the "systemd-run"
> > command for lvm-activate-${VG}, which is currently called in 69-dm-
> > lvm.rules, directly instead, by fork()ing and exec()ing
> > "systemd-run".
> > That was what I meant. Just a thought, not sure if it really works.
> 
> Having pvscan fork systemd-run vgchange -aay doesn't sound nice at
> all.
> The point of this new design is clean up and simplify things,
> separating
> the scanning from the activation:  pvscan just scans the device, and
> vgchange activates the VG.

It was just a thought, trying to figure out a way to move this logic in
to RUN completely, so that pvscan would be able to access udev
properties.

I'll wait for the fix for the external_device_info_source=udev case,
which you mentioned in your previous post.

Thanks,
Martin

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


  reply	other threads:[~2022-03-10  7:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-09 15:29 [linux-lvm] LVM autoactivation and udev Martin Wilck
2022-03-09 16:27 ` David Teigland
2022-03-09 17:04   ` Martin Wilck
2022-03-09 17:26     ` David Teigland
2022-03-09 19:48       ` Martin Wilck [this message]
     [not found]         ` <1f49866ba907896dc3678b47c5bb68d87e28b3c1.camel@suse.com>
2022-03-09 20:07           ` David Teigland
2022-03-09 17:07   ` Roger Heflin
2022-03-09 17:17     ` Martin Wilck
2022-03-21  8:57 ` heming.zhao
2022-03-21 16:44   ` David Teigland
2022-03-23  7:33     ` heming.zhao
2022-03-23  7:51       ` Martin Wilck
2022-03-24  8:26         ` heming.zhao
2022-03-24  9:02           ` Martin Wilck
2022-03-24 19:01           ` David Teigland

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=166d9e5658f38f384a9938973a81c00c7abd75c9.camel@suse.com \
    --to=mwilck@suse.com \
    --cc=heming.zhao@suse.com \
    --cc=linux-lvm@redhat.com \
    --cc=prajnoha@redhat.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).