[lvm-devel] [PATCH] dmeventd plugins v. LVM mutexing
Petr Rockai
prockai at redhat.com
Wed Jan 20 17:16:49 UTC 2010
Hi,
the attached patch should address RHBZ 557104, in the following way:
- a common library for lvm-based dmeventd plugins is added that proxies
the access to lvm library
- this supersedes the per-plugin mutexing we have been using and which
breaks as soon as multiple plugins try to use lvm simultaneously
It should not affect backwards compatibility and the change is confined
to dmeventd plugins only.
Not very well tested yet (just basic check that things link and load).
The patch applies on top of the debug patch I have sent previously and
undoes part of it (but it keeps the basic (non-debug) logging, and also
extends it to the snapshot monitoring plugin).
Yours,
Petr.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmeventd.diff
Type: text/x-diff
Size: 19720 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20100120/13772d6b/attachment.bin>
More information about the lvm-devel
mailing list