NFS: Trunking detection should handle ERESTARTSYS/EINTR
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 21 Jun 2017 14:16:56 +0000 (10:16 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 28 Jun 2017 01:44:58 +0000 (21:44 -0400)
Currently, it will return EIO in those cases.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4state.c

index b34de03..cbf82b0 100644 (file)
@@ -2134,6 +2134,8 @@ again:
        put_rpccred(cred);
        switch (status) {
        case 0:
+       case -EINTR:
+       case -ERESTARTSYS:
                break;
        case -ETIMEDOUT:
                if (clnt->cl_softrtry)