]> sourceware.org Git - lvm2.git/commit
polldaemon: optimise out waiting after polling
authorOndrej Kozina <okozina@redhat.com>
Tue, 5 May 2015 14:09:53 +0000 (16:09 +0200)
committerOndrej Kozina <okozina@redhat.com>
Tue, 5 May 2015 18:51:45 +0000 (20:51 +0200)
commitbda26acf70e92232b1ed644dba6b44ecbff2a058
tree71c0a7c248ba37e38e6e09c0b52f260a47bfee0f
parent22ae43a11ef9bea5ae3a9c6127bb1ed07f93d103
polldaemon: optimise out waiting after polling

Waiting even after _check_lv_status returned success and
'finished' flag was set to true doesn't make much sense.

Note that while we skip the wait() we also skip the
init_full_scan_done(0) inside the routine. This should
have no impact as long as the code after _wait_for_single_lv
doesn't presume anything about the state of the cache.
tools/polldaemon.c
This page took 0.040461 seconds and 5 git commands to generate.