]> sourceware.org Git - lvm2.git/commit
hints: invalidate when pvscan --cache sees a new PV
authorDavid Teigland <teigland@redhat.com>
Wed, 16 Jan 2019 20:19:09 +0000 (14:19 -0600)
committerDavid Teigland <teigland@redhat.com>
Wed, 16 Jan 2019 21:34:20 +0000 (15:34 -0600)
commit5f102b3421873a6111e477b40fdbe1a93ef258b9
treea855f7e905a48267a92ee754766e2ed307e7dac1
parentfacd5209311d0f205229c6943fa3b2ef42fc981f
hints: invalidate when pvscan --cache sees a new PV

An idea from Zdenek for better ensuring valid hints by invalidating
them when pvscan --cache <device> sees a new PV, which is a case
where we know that hints should be invalidated.  This is triggered
from systemd/udev logic, and there may be some cases where it would
invalidate hints that the existing methods wouldn't detect.
lib/label/hints.c
lib/label/hints.h
test/shell/hints.sh
tools/pvscan.c
This page took 0.036985 seconds and 5 git commands to generate.