mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.13.4 - "lockd: weird return 1 for CANCEL call"
@ 2007-02-21 10:46 Jesper Juhl
  2007-02-21 11:24 ` Neil Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Jesper Juhl @ 2007-02-21 10:46 UTC (permalink / raw)
  To: nfs; +Cc: Linux Kernel Mailing List

Greetings,

I just got a unusual message from lockd on a webserver running a
custom compiled 2.6.13.4 (yes it is ancient, I know).

# uname -a
Linux webserv.somedomain.example 2.6.13.4 #1 SMP Wed Nov 16 10:03:05
CET 2005 i686 unknown

# dmesg | tail -n 3
do_vfs_lock: VFS is out of sync with lock manager!
lockd: weird return 1 for CANCEL call
lockd: weird return 1 for CANCEL call

The server seems to be running fine, so I'm not really worried, but I
thought maybe someone would like to know. :-)


-- 
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

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

* Re: 2.6.13.4 - "lockd: weird return 1 for CANCEL call"
  2007-02-21 10:46 2.6.13.4 - "lockd: weird return 1 for CANCEL call" Jesper Juhl
@ 2007-02-21 11:24 ` Neil Brown
  2007-02-21 11:44   ` Jesper Juhl
  0 siblings, 1 reply; 3+ messages in thread
From: Neil Brown @ 2007-02-21 11:24 UTC (permalink / raw)
  To: Jesper Juhl; +Cc: nfs, Linux Kernel Mailing List

On Wednesday February 21, jesper.juhl@gmail.com wrote:
> Greetings,
> 
> I just got a unusual message from lockd on a webserver running a
> custom compiled 2.6.13.4 (yes it is ancient, I know).
> 
> # uname -a
> Linux webserv.somedomain.example 2.6.13.4 #1 SMP Wed Nov 16 10:03:05
> CET 2005 i686 unknown
> 
> # dmesg | tail -n 3
> do_vfs_lock: VFS is out of sync with lock manager!
> lockd: weird return 1 for CANCEL call
> lockd: weird return 1 for CANCEL call
> 
> The server seems to be running fine, so I'm not really worried, but I
> thought maybe someone would like to know. :-)

Thanks.
Don't be worried.  They are both warning about perfectly acceptable
(though uncommon) behaviour.  These warnings have since been removed.

A process was interrupted while trying to get a lock, so the NFS
client didn't know if it actually had the lock or not.
When the process exited, the tried to cancel the lock just to be on
the safe side and was told that it didn't own any such lock.

NeilBrown

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

* Re: 2.6.13.4 - "lockd: weird return 1 for CANCEL call"
  2007-02-21 11:24 ` Neil Brown
@ 2007-02-21 11:44   ` Jesper Juhl
  0 siblings, 0 replies; 3+ messages in thread
From: Jesper Juhl @ 2007-02-21 11:44 UTC (permalink / raw)
  To: Neil Brown; +Cc: nfs, Linux Kernel Mailing List

On 21/02/07, Neil Brown <neilb@suse.de> wrote:
> On Wednesday February 21, jesper.juhl@gmail.com wrote:
> > Greetings,
> >
> > I just got a unusual message from lockd on a webserver running a
> > custom compiled 2.6.13.4 (yes it is ancient, I know).
> >
> > # uname -a
> > Linux webserv.somedomain.example 2.6.13.4 #1 SMP Wed Nov 16 10:03:05
> > CET 2005 i686 unknown
> >
> > # dmesg | tail -n 3
> > do_vfs_lock: VFS is out of sync with lock manager!
> > lockd: weird return 1 for CANCEL call
> > lockd: weird return 1 for CANCEL call
> >
> > The server seems to be running fine, so I'm not really worried, but I
> > thought maybe someone would like to know. :-)
>
> Thanks.
> Don't be worried.  They are both warning about perfectly acceptable
> (though uncommon) behaviour.  These warnings have since been removed.
>
I know the "VFS is out of sync with lock manager" warning has been
removed (I pushed quite a bit to get that done myself ;) I was just
providing context.  The one I had not seen before was the "weird
return ..." one.

> A process was interrupted while trying to get a lock, so the NFS
> client didn't know if it actually had the lock or not.
> When the process exited, the tried to cancel the lock just to be on
> the safe side and was told that it didn't own any such lock.
>
Thanks a lot for that very nice explanation.

-- 
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

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

end of thread, other threads:[~2007-02-21 11:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-21 10:46 2.6.13.4 - "lockd: weird return 1 for CANCEL call" Jesper Juhl
2007-02-21 11:24 ` Neil Brown
2007-02-21 11:44   ` Jesper Juhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®