linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] bug in lvmlockd
@ 2016-01-27 15:25 Andrey Staselko
  2016-01-28 15:52 ` David Teigland
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Staselko @ 2016-01-27 15:25 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-28 15:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-27 15:25 [linux-lvm] bug in lvmlockd Andrey Staselko
2016-01-28 15:52 ` David Teigland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).