Re: [PATCH 10/10] Add a plugin for the 'sanlock' project

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]