Lior Suliman has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1201312?usp=email )
Change subject: Change NFSv3 proxy FSAL to return delay instead of invalid val or server
fault to the client [b/234604886]
......................................................................
Change NFSv3 proxy FSAL to return delay instead of invalid val or server fault to the
client [b/234604886]
If there is an error in sending / receiving a response to / from the NFSv3 server, return
the
client with NFS4ERR_DELAY that will cause it to retry issuing that operation
https://datatracker.ietf.org/doc/html/rfc5661#section-15.1.1.3
For this not to be an issue, we also need to change the current way the XID is generated
by the NFSv3 proxy FSAL
so that two requests that are the same will yield with the same XID, otherwise it can be
executed more than once
by the NFSv3 back-end server as they will be recognized as different request
Change-Id: I7f6947898d208bd5ae61768bf710e6e6592d31dd
Signed-off-by: Lior Suliman <liorsu(a)gmail.com>
---
M src/FSAL/FSAL_PROXY_V3/main.c
M src/FSAL/FSAL_PROXY_V3/nlm.c
2 files changed, 13 insertions(+), 13 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/12/1201312/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1201312?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I7f6947898d208bd5ae61768bf710e6e6592d31dd
Gerrit-Change-Number: 1201312
Gerrit-PatchSet: 1
Gerrit-Owner: Lior Suliman <liorsu(a)google.com>