* [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
* Re: [linux-lvm] bug in lvmlockd
2016-01-27 15:25 [linux-lvm] bug in lvmlockd Andrey Staselko
@ 2016-01-28 15:52 ` David Teigland
0 siblings, 0 replies; 2+ messages in thread
From: David Teigland @ 2016-01-28 15:52 UTC (permalink / raw)
To: Andrey Staselko; +Cc: linux-lvm
On Wed, Jan 27, 2016 at 06:25:49PM +0300, Andrey Staselko wrote:
> 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().
Thanks, I've fixed that. (Also, I'm not sure it's mentioned anywhere that
git.kernel.org/torvalds/c/2ab4bd8 is needed for dlm lock adoption to work.)
Dave
^ 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).