linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Feature for lockd messages
       [not found] <467222610.57782401.1464980098517.JavaMail.zimbra@redhat.com>
@ 2016-06-03 19:01 ` Jayaram Radhakrishnan
  2016-06-22  7:14   ` Jayaram Radhakrishnan
  0 siblings, 1 reply; 2+ messages in thread
From: Jayaram Radhakrishnan @ 2016-06-03 19:01 UTC (permalink / raw)
  To: linux-nfs

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

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

* Re: Feature for lockd messages
  2016-06-03 19:01 ` Feature for lockd messages Jayaram Radhakrishnan
@ 2016-06-22  7:14   ` Jayaram Radhakrishnan
  0 siblings, 0 replies; 2+ messages in thread
From: Jayaram Radhakrishnan @ 2016-06-22  7:14 UTC (permalink / raw)
  To: linux-nfs

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

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

end of thread, other threads:[~2016-06-22  7:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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 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).