Re: Discussion: performance issue on event activation mode

David Teigland <[email protected]>
Newsgroups gmane.linux.lvm.general
Message-ID <[email protected]>
On Wed, Oct 20, 2021 at 02:54:54PM +0000, Martin Wilck wrote:
> I see. The problem with IMPORT (like RUN, actually) is that it's
> required to finish quickly, which might not be the case if we encounter
> resource shortage / contention as observed by Heming. If that happens,
> the programs started may be killed by udevd, with unpredictable
> results.

We've been optimizing the pvscan --cache command that gets the VG name
from the disk and checks if the VG is complete.  It's pretty small and
fast at this point.  Also, the lvm-activate-vgs services that we have been
discussing should result in a large number of those pvscans doing nothing
(i.e. those that are triggered prior to lvm-activate-vgs-last.service will
see that event-based activation is not yet enabled and will exit.)

Dave

_______________________________________________
linux-lvm mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.