]> git.baikalelectronics.ru Git - kernel.git/commit
rpc: bring back cl_chatty
authorOlga Kornievskaia <aglo@citi.umich.edu>
Mon, 9 Jun 2008 20:51:31 +0000 (16:51 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 9 Jul 2008 16:09:10 +0000 (12:09 -0400)
commit7a14cd654520ea1967c1fa0900370a14259e77dc
tree0d63ce529c13c09a1997da06199e27b049bb55aa
parent92ff6f0d217c18c28b5c1dc1bbe902a40a525613
rpc: bring back cl_chatty

The cl_chatty flag alows us to control whether a given rpc client leaves

"server X not responding, timed out"

messages in the syslog.  Such messages make sense for ordinary nfs
clients (where an unresponsive server means applications on the
mountpoint are probably hanging), but not for the callback client (which
can fail more commonly, with the only result just of disabling some
optimizations).

Previously cl_chatty was removed, do to lack of users; reinstate it, and
use it for the nfsd's callback client.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfsd/nfs4callback.c
include/linux/sunrpc/clnt.h
net/sunrpc/clnt.c