[libvirt] [PATCH 10/10] Add a plugin for the 'sanlock' project
Eric Blake
eblake at redhat.com
Fri Jun 3 20:18:47 UTC 2011
On 05/24/2011 09:21 AM, Daniel P. Berrange wrote:
> Sanlock is a project that implements a disk-paxos locking
> algorithm. This is suitable for cluster deployments with
> shared storage.
>
> * src/Makefile.am: Add dlopen plugin for sanlock
> * src/locking/lock_driver_sanlock.c: Sanlock driver
> * configure.ac: Check for sanlock
> * libvirt.spec.in: Add a libvirt-lock-sanlock RPM
> ---
> configure.ac | 55 +++++
> libvirt.spec.in | 34 +++
> +++ b/libvirt.spec.in
> @@ -77,6 +77,7 @@
> %define with_dtrace 0%{!?_without_dtrace:0}
> %define with_cgconfig 0%{!?_without_cgconfig:0}
> %define with_referential 0%{!?_without_referential:1}
> +%define with_sanlock 0%{!?_without_sanlock:0}
>
> # Non-server/HV driver defaults which are always enabled
> %define with_python 0%{!?_without_python:1}
> @@ -163,6 +164,11 @@
> %define with_yajl 0%{!?_without_yajl:%{server_drivers}}
> %endif
>
> +# Enable sanlock library for lock management with QEMU
> +%if 0%{?fedora} >= 15 || 0%{?rhel} >= 6
> +%define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
> +%endif
Okay, I found sanlock-devel on rawhide, but not on F14, so 'make rpm' is
working for me on both machines. But I'm still not seeing sanlock-devel
it on my RHEL 6.1 machine; am I not looking in the right repositories,
or does the RHEL conditional need to be further tuned to match reality
of when sanlock-devel will be ported to RHEL?
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110603/97ecdab6/attachment-0001.sig>
More information about the libvir-list
mailing list