bug in lvmlockd

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

 



If lvm configured with --enable-lockd-dlm and without --enable-lockd-sanlock,
then "lvmlockd --adopt 1" always produces error "adopt_locks failed, reset host" in adopt_locks().

lm_get_lockspaces_sanlock() stub in daemons/lvmlockd/lvmlockd-internal.h line 577 returns -1,
that breaks the adopt_locks() function in daemons/lvmlockd/lvmlockd-core.c line 5160:
        
	rv = lm_get_lockspaces_sanlock(&ls_found);
	if ((rv < 0) && (rv != -ECONNREFUSED))
		goto fail;

AS

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/



[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux