]> sourceware.org Git - lvm2.git/commit
poll_daemon: Cleanly exit polling if the LV is no longer active
authorJonathan Brassow <jbrassow@redhat.com>
Mon, 16 Jun 2014 23:56:32 +0000 (18:56 -0500)
committerJonathan Brassow <jbrassow@redhat.com>
Mon, 16 Jun 2014 23:56:32 +0000 (18:56 -0500)
commita20de8af208725ff2054209aa7ff7f41cc770db6
tree20ba4dedc3e8b15979243ac1c6c9a9b70cdf9b5e
parent962a40b98134417f27e89709625ba2ec662204c2
poll_daemon:  Cleanly exit polling if the LV is no longer active

If the we are polling an LV due to some sort of conversion and it
becomes inactive, a rather worrisome message is produced, e.g.:
"  ABORTING: Mirror percentage check failed."

We can cleanly exit if we do a simple check to see if the LV is
active before performing the check.  This eliminates the scary
message.
tools/polldaemon.c
This page took 0.033255 seconds and 5 git commands to generate.