Linux NFS development
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton@redhat.com>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: kenneth johansson <ken@kenjo.org>, nfs@lists.sourceforge.net
Subject: Re: lockd not responding
Date: Sat, 22 Sep 2007 17:31:05 -0400	[thread overview]
Message-ID: <20070922173105.5b2607f5.jlayton@redhat.com> (raw)
In-Reply-To: <1190407932.6721.42.camel@heimdal.trondhjem.org>

On Fri, 21 Sep 2007 16:52:12 -0400
Trond Myklebust <trond.myklebust@fys.uio.no> wrote:

> On Wed, 2007-09-12 at 20:27 -0400, Jeff Layton wrote:
> > On Wed, 12 Sep 2007 07:26:02 +0000 (UTC)
> > kenneth johansson <ken@kenjo.org> wrote:
> > 
> > > Got a warning from the lock validating check again and
> > > later a unresponsive lockd with a backtrace this time
> > > actually at the same place the lock warning was on.
> > 
> > FWIW, I think I ran into the exact same problem recently. I opened a
> > BZ case for it so I wouldn't forget about it, but haven't had time to
> > track it down:
> > 
> > https://bugzilla.redhat.com/show_bug.cgi?id=280311
> > 
> > I'm not certain that lockd was stuck at the time, since I had some
> > other things going on with the box, but it may have been...
> 
> Does the attached patch help?
> 
> Cheers
>   Trond
> 

Thanks, Trond -- nice work :-)

Yes. It does seem to. I have a reproducer of sorts -- run this in a
continuous loop:

lock file
sleep 2 seconds
unlock file
sleep 1 second

When run simultaneously on the server and client against the same
inode, the lockdep warning usually pops within a few minutes. With
the patch above, I never saw it, even after running for 20 mins or
so.

-- 
Jeff Layton <jlayton@redhat.com>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2007-09-22 21:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-12  7:26 lockd not responding kenneth johansson
2007-09-13  0:27 ` Jeff Layton
2007-09-21 20:52   ` Trond Myklebust
2007-09-22 21:31     ` Jeff Layton [this message]
2007-09-23 18:52     ` kenneth johansson
  -- strict thread matches above, loose matches on Subject: below --
2007-03-06 20:17 Jan Rekorajski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070922173105.5b2607f5.jlayton@redhat.com \
    --to=jlayton@redhat.com \
    --cc=ken@kenjo.org \
    --cc=nfs@lists.sourceforge.net \
    --cc=trond.myklebust@fys.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox