From: Frank van Maarseveen <frankvm@frankvm.com>
To: Linux NFS mailing list <linux-nfs@vger.kernel.org>
Subject: [NLM] 2.6.27.14 breakage when grace period expires
Date: Wed, 11 Feb 2009 12:23:18 +0100 [thread overview]
Message-ID: <20090211112318.GA29133@janus> (raw)
I'm sorry to inform you but... it seems that there is a similar problem
in the NLM subsystem as reported previously but this time it is triggered
when the grace time expires after a reboot.
Client and server run 2.6.27.14 + previous fix, NFSv3.
On the client there are three shells running:
while :; do lck -w /mnt/foo 2; done
The "lck" program is the same as posted before and it obtains an exclusive
write lock then waits 2 seconds in above invocation (there's probably an
"fcntl" command equivalent). After an orderly server reboot + grace time
expiration one of above command loops reports:
lck: fcntl: No locks available
and all three get stuck. After ^C-ing all "lck" loops the server still
shows an entry in /proc/locks which causes the file to be locked
indefinately. Maybe two loops are sufficient to reproduce the issue or
maybe you need more, I don't know.
Interestingly, during the grace time at least one of the "lck" processes
should have re-obtained the lock but it didn't show up in /proc/locks
on the server.
Interestingly (#2), after removing the file on the server (i.e. no
sillyrename) the now free inode is still locked according to /proc/locks.
Even stopping/starting /etc/init.d/nfs-kernel-server plus "echo
3 >/proc/sys/vm/drop_caches" did not remove the lock (it did re-enter
grace).
--
Frank
next reply other threads:[~2009-02-11 11:23 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-11 11:23 Frank van Maarseveen [this message]
2009-02-11 20:35 ` [NLM] 2.6.27.14 breakage when grace period expires J. Bruce Fields
2009-02-11 20:37 ` Frank van Maarseveen
2009-02-11 20:39 ` J. Bruce Fields
2009-02-11 20:57 ` Frank van Maarseveen
2009-02-12 14:28 ` Frank van Maarseveen
2009-02-12 15:16 ` Trond Myklebust
[not found] ` <1234451789.7190.38.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-02-12 15:36 ` Frank van Maarseveen
2009-02-12 18:17 ` Trond Myklebust
[not found] ` <1234462647.7190.53.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-02-12 18:29 ` Frank van Maarseveen
2009-02-12 19:10 ` Trond Myklebust
[not found] ` <1234465837.7190.62.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-02-12 19:16 ` Frank van Maarseveen
2009-02-12 20:24 ` Trond Myklebust
[not found] ` <1234470251.7190.102.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-02-13 11:04 ` Frank van Maarseveen
2009-02-12 19:35 ` Chuck Lever
2009-02-12 19:43 ` Trond Myklebust
[not found] ` <1234467795.7190.70.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-02-12 20:11 ` Chuck Lever
2009-02-12 20:27 ` Trond Myklebust
[not found] ` <1234470457.7190.106.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-02-12 20:43 ` Chuck Lever
2009-02-12 20:54 ` Trond Myklebust
[not found] ` <1234472083.7190.124.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-02-12 21:43 ` Chuck Lever
2009-02-12 22:03 ` Trond Myklebust
2009-02-12 22:02 ` Trond Myklebust
[not found] ` <1234476134.7190.187.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-02-12 22:11 ` Chuck Lever
2009-02-12 22:19 ` Trond Myklebust
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=20090211112318.GA29133@janus \
--to=frankvm@frankvm.com \
--cc=linux-nfs@vger.kernel.org \
/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