Re: [linux-lvm] Discussion: performance issue on event activation mode

2021-09-28 Thread Benjamin Marzinski
On Tue, Sep 28, 2021 at 03:16:08PM +, Martin Wilck wrote: > On Tue, 2021-09-28 at 09:42 -0500, David Teigland wrote: > > On Tue, Sep 28, 2021 at 06:34:06AM +, Martin Wilck wrote: > > > Hello David and Peter, > > > > > > On Mon, 2021-09-27 at 10:38 -0500, David Teigland wrote: > > > > On Mo

Re: [linux-lvm] Discussion: performance issue on event activation mode

2021-09-28 Thread Benjamin Marzinski
On Tue, Sep 28, 2021 at 10:56:09AM -0500, David Teigland wrote: > On Tue, Sep 28, 2021 at 03:16:08PM +, Martin Wilck wrote: > > Hm. This would mean that the switch to event-based PV detection could > > happen before "udev settle" ends. A coldplug storm of uevents could > > create 1000s of PVs i

Re: [linux-lvm] " Failed to find physical volume

2021-09-28 Thread Roger Heflin
A possibility I just debugged for a non-booting system. If there is a partition table on the underlying device then that device is not detected as an LVM1/2 member in at least one version of udevd, and won't be seen nor turned on automatically by the systemd-udev code. lvm vgchange -ay worked to

Re: [linux-lvm] Discussion: performance issue on event activation mode

2021-09-28 Thread David Teigland
On Tue, Sep 28, 2021 at 03:16:08PM +, Martin Wilck wrote: > Hm. This would mean that the switch to event-based PV detection could > happen before "udev settle" ends. A coldplug storm of uevents could > create 1000s of PVs in a blink after event-based detection was enabled. > Wouldn't that resur

Re: [linux-lvm] Discussion: performance issue on event activation mode

2021-09-28 Thread David Teigland
On Tue, Sep 28, 2021 at 06:34:06AM +, Martin Wilck wrote: > Hello David and Peter, > > On Mon, 2021-09-27 at 10:38 -0500, David Teigland wrote: > > On Mon, Sep 27, 2021 at 12:00:32PM +0200, Peter Rajnoha wrote: > > > > - We could use the new lvm-activate-* services to replace the > > > > activ