]> sourceware.org Git - lvm2.git/commit
pvscan: fix autoactivation from concurrent pvscans
authorDavid Teigland <teigland@redhat.com>
Wed, 13 Feb 2019 19:35:24 +0000 (13:35 -0600)
committerDavid Teigland <teigland@redhat.com>
Wed, 20 Feb 2019 22:33:59 +0000 (16:33 -0600)
commitf0089472e7fd679acbc004daf4b35e9a86fc11a9
treea70a4e7116000b50c0bb4856170a7708fbea89a3
parent71a302effe82f1cc89f0b26b358493cfaaed7de7
pvscan: fix autoactivation from concurrent pvscans

Use a file lock to ensure that only one pvscan will do
initialization of pvs_online, otherwise multiple concurrent
pvscans may all see an empty pvs_online directory and
do initialization.

The pvscan that is doing initialization should also only
attempt to activate complete VGs.
tools/pvscan.c
This page took 0.038132 seconds and 5 git commands to generate.