nfs-ganesha
nfs-ganesha copied to clipboard
Can we relax the check of sequenceid ?
In nfs4_op_sequence.c, we check if slot->sequence + 1 != arg_SEQUENCE4->sa_sequenceid, will return NFS4ERR_SEQ_MISORDERED. we find in our environment, slot->sequence is 1305, and arg_SEQUENCE4->sa_sequenceid is 1307, it failed the check. Can we relax the check by: slot->sequence + 1 <= arg_SEQUENCE4->sa_sequenceid ?
Please investigate more what is going on. There are strict rules about sequence ID.
Please also check that you aren't using a client with a known bug, I know there have been client sequence ID bugs.
Any given slot is supposed to only have one outstanding request on it so this looks like a client sending a second request before getting a response from the first.