]> sourceware.org Git - lvm2.git/commit
lvmetad: use the disabled flag in commands
authorDavid Teigland <teigland@redhat.com>
Wed, 6 Apr 2016 20:31:15 +0000 (15:31 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 19 Apr 2016 14:41:18 +0000 (09:41 -0500)
commit04a83148cea3b3c7ec7f6ffccb4d84e2372c3f4a
tree13e1a655d5208405714710c8a071b7e8eeca1ca6
parentff867c2ef6b0717c26f2073f0b79041156a6af58
lvmetad: use the disabled flag in commands

Commands already check if the lvmetad token is valid,
and if not, they rescan devices to repopulate lvmetad
before running.  Now, in addition to checking the
lvmetad token, they also check if the lvmetad disabled
flag is set.  If so, they do not use the lvmetad cache
and revert to disk scanning.
lib/cache/lvmetad.c
tools/lvmcmdline.c
tools/lvscan.c
tools/pvscan.c
tools/vgimport.c
tools/vgscan.c
This page took 0.044023 seconds and 5 git commands to generate.