]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: allow disabling idle timeout
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 11 Apr 2013 19:06:36 +0000 (15:06 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 26 Apr 2013 15:41:26 +0000 (11:41 -0400)
commit817bdf8f2c04de7acadd87fe0a7d0dffc02449d6
treeee1a01377713975303cbfae2abb268de2ec6a769
parentcad718d9315db3f05d5c39bd1db021aef0d463c5
SUNRPC: allow disabling idle timeout

In the gss-proxy case we don't want to have to reconnect at random--we
want to connect only on gss-proxy startup when we can steal gss-proxy's
context to do the connect in the right namespace.

So, provide a flag that allows the rpc_create caller to turn off the
idle timeout.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/clnt.h
include/linux/sunrpc/xprt.h
net/sunrpc/clnt.c
net/sunrpc/xprt.c