]> sourceware.org Git - lvm2.git/commit
lvmetad: handle update failures
authorDavid Teigland <teigland@redhat.com>
Fri, 20 May 2016 18:32:14 +0000 (13:32 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 7 Jun 2016 15:17:00 +0000 (10:17 -0500)
commited6ffc7a342149dab60086bcabd5fbd2d12ceeb7
tree1d2751745ba737cd1f9f09d660550435dd6e7c50
parent851ccfccaf3dae184e0bd5f222bdcfcef33fa3b8
lvmetad: handle update failures

If a command gets stuck during an lvmetad update, lvmetad
will cancel that update after the timeout.  The next command
to check the lvmetad will see that lvmetad needs to be
populated because lvmetad will return token of "none" after
a timed out update (same as when lvmetad is not populated
at all after starting.)

If a command gets an error during an lvmetad update, it
will now just quit and leave its updating token in place.
That update will be cancelled after the timeout.
daemons/lvmetad/lvmetactl.c
daemons/lvmetad/lvmetad-core.c
lib/cache/lvmetad.c
This page took 0.032531 seconds and 5 git commands to generate.