Assaf Yaari has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/546260 )
Change subject: FSAL_PROXY_V3: Ensure that the used xid is unique
......................................................................
FSAL_PROXY_V3: Ensure that the used xid is unique
If the used XID is the same as other call that is identical, it may
cause the DRC to drop the request which cause the FSAL thread and client
to halt.
Using rand_r is not good enough as mutiple threads calling it at the
same time (using same 'seedp') may produce the same number.
Signed-off-by: Assaf Yaari <assafy(a)google.com>
Change-Id: I725e62f91638ee39aad4c990cffaa4b470f0aa45
---
M src/FSAL/FSAL_PROXY_V3/rpc.c
1 file changed, 27 insertions(+), 10 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/60/546260/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/546260
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I725e62f91638ee39aad4c990cffaa4b470f0aa45
Gerrit-Change-Number: 546260
Gerrit-PatchSet: 1
Gerrit-Owner: Assaf Yaari <assafy(a)google.com>
Gerrit-MessageType: newchange