diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2015-06-02 18:58:46 +0800 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-06-11 14:00:40 -0400 |
commit | e937ee714b2df638275a61a99e0d033682f764d2 (patch) | |
tree | daf249d4134ed0ad095982e5cc83cda4e1c98994 /lib/usercopy.c | |
parent | 8eee52af27b96047894bd18649102a0d2de3c3bb (diff) |
nfs: Only update callback sequnce id when CB_SEQUENCE success
When testing pnfs layout, nfsd got error NFS4ERR_SEQ_MISORDERED.
It is caused by nfs return NFS4ERR_DELAY before validate_seqid(),
don't update the sequnce id, but nfsd updates the sequnce id !!!
According to RFC5661 20.9.3,
" If CB_SEQUENCE returns an error, then the state of the slot
(sequence ID, cached reply) MUST NOT change. "
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions