]> sourceware.org Git - lvm2.git/commit
Fix snapshot monitoring library to not cancel monitoring invalid snapshot.
authorMilan Broz <mbroz@redhat.com>
Mon, 13 Oct 2008 12:06:30 +0000 (12:06 +0000)
committerMilan Broz <mbroz@redhat.com>
Mon, 13 Oct 2008 12:06:30 +0000 (12:06 +0000)
commita3d987fa7330373c3e020e3dd46b13ad486ac96f
tree736398d327733097cc37fbba0b004e51f8fc9b1f
parent2d48685673f2847779e10ba90db70e4689727b4e
Fix snapshot monitoring library to not cancel monitoring invalid snapshot.

snapshot DSO unregistered itself when snapshot changed state to invalid.

This can cause a race (and several timeouts), when for example another snapshot
is added and in the middle of operation (suspend/resume) the monitoring thread
unregister itself.

Fix it by keeping the snapshot monitored after invalidation - just reset
threshold to not really print any messages to syslog.
WHATS_NEW
daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c
dmeventd/snapshot/dmeventd_snapshot.c
This page took 0.039808 seconds and 5 git commands to generate.