Subject: [nfsv4] Server to server error codes

From: "Haynes, Tom" <[email-masked]>
Date: Wed, 25 Apr 2012 16:43:33 +0000

In draft version 07, we defined the errors for COPY_ABORT as:

   NFS4ERR_COMPLETE_ALREADY:  The abort failed, and a callback will
      deliver the results of the copy operation.

(In draft version 08, I've removed the explanations, just keeping the error code.)

While that makes sense, in 5661, it is defined as:

15.1.9.  Reclaim Errors

   These errors relate to the process of reclaiming locks after a server
   restart.

15.1.9.1.  NFS4ERR_COMPLETE_ALREADY (Error Code 10054)

   The client previously sent a successful RECLAIM_COMPLETE operation.
   An additional RECLAIM_COMPLETE operation is not necessary and results
   in this error.

I think these are orthogonal, and by that I don't mean that they will ever happen/conflict on the same operation, I mean that for s2s, the result is wait for a callback and for NFSv4.1, the result is to not try again.

I think we should define a new error code.