linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jayaram Radhakrishnan <jradhakr@redhat.com>
To: linux-nfs@vger.kernel.org
Subject: Re: Feature for lockd messages
Date: Wed, 22 Jun 2016 03:14:32 -0400 (EDT)	[thread overview]
Message-ID: <939921093.768587.1466579672990.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <1856161711.57783106.1464980479955.JavaMail.zimbra@redhat.com>

Hello,

Could you please provide me an update about my last update, whether this feature can include or not.

Thanks
Jayaram

----- Original Message -----
From: "Jayaram Radhakrishnan" <jradhakr@redhat.com>
To: linux-nfs@vger.kernel.org
Sent: Saturday, June 4, 2016 12:31:19 AM
Subject: Feature for lockd messages

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

      reply	other threads:[~2016-06-22  7:30 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 ` Feature for lockd messages Jayaram Radhakrishnan
2016-06-22  7:14   ` Jayaram Radhakrishnan [this message]

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=939921093.768587.1466579672990.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).