]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: Delay callback processing when there are referring triples
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 28 Aug 2016 17:25:43 +0000 (13:25 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 28 Aug 2016 18:23:26 +0000 (14:23 -0400)
commitaa01eda8e3d5460de8d0c1575019ede02daddabe
tree19a7f27abb8e531c90b5de29619184d219a9d329
parent0cb51cfb8b2873355efc92e74af0a1f142c5bada
NFSv4.1: Delay callback processing when there are referring triples

If CB_SEQUENCE tells us that the processing of this request depends on
the completion of one or more referring triples (see RFC 5661 Section
2.10.6.3), delay the callback processing until after the RPC requests
being referred to have completed.
If we end up delaying for more than 1/2 second, then fall back to
returning NFS4ERR_DELAY in reply to the callback.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/callback_proc.c
fs/nfs/nfs4proc.c
fs/nfs/nfs4session.c
fs/nfs/nfs4session.h