]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Fix the maximum lifespan of VL and probe calls
authorDavid Howells <dhowells@redhat.com>
Thu, 16 May 2019 12:21:59 +0000 (13:21 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 16 May 2019 15:25:20 +0000 (16:25 +0100)
commit31ac5776b2b8aedd02bfb4f49a9c33061c3d5f8d
treef528d331b014f7914518024fb536108ab905cce2
parentbee4920bc6d7c5a1c7155beb867ced820e6f7b94
afs: Fix the maximum lifespan of VL and probe calls

If an older AFS server doesn't support an operation, it may accept the call
and then sit on it forever, happily responding to pings that make kafs
think that the call is still alive.

Fix this by setting the maximum lifespan of Volume Location service calls
in particular and probe calls in general so that they don't run on
endlessly if they're not supported.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/afs.h
fs/afs/fsclient.c
fs/afs/internal.h
fs/afs/rxrpc.c
fs/afs/vlclient.c