From: Jayaram Radhakrishnan <jradhakr@redhat.com>
To: linux-nfs@vger.kernel.org
Subject: Feature for lockd messages
Date: Fri, 3 Jun 2016 15:01:19 -0400 (EDT) [thread overview]
Message-ID: <1856161711.57783106.1464980479955.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <467222610.57782401.1464980098517.JavaMail.zimbra@redhat.com>
Hello,
I would like to know if there are any chances to include the feature like, changing the error code instead of file name. As per the below error from lockd, it means its a NFS stale and throwing error code.
~~~
<kern.warning> kernel:lockd: unexpected unlock status: 7
~~~
Behaviuor changes
from:
"lockd: unexpected unlock status: <unlock status code>"
to:
"lockd: unexpected unlock status <full path of the affected file>"
In RHEL7 kernel as well as the current upstream kernel shows a warning if the response for an unlock NFS call to the filer isn't "NLM_GRANTED".
Unfortunately the message is meaningless without the affected file. The filename is very important to do an correlation with an application or an user.
Please extend the message by printing the affected file additional to the unexpected lockd status
Is there any plans for modifying this message behavior into filename instead of throwing error code?
In general
>> NFS knows files and nothing about sockets.
>> RPC knows sockets and nothing about files.
Awaiting for your reply
Thanks
Jayaram
next parent reply other threads:[~2016-06-03 19:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <467222610.57782401.1464980098517.JavaMail.zimbra@redhat.com>
2016-06-03 19:01 ` Jayaram Radhakrishnan [this message]
2016-06-22 7:14 ` Feature for lockd messages Jayaram Radhakrishnan
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=1856161711.57783106.1464980479955.JavaMail.zimbra@redhat.com \
--to=jradhakr@redhat.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;
as well as URLs for NNTP newsgroup(s).