From: Kinglong Mee Date: Tue, 2 Jun 2015 10:58:46 +0000 (+0800) Subject: nfs: Only update callback sequnce id when CB_SEQUENCE success X-Git-Tag: omap-for-v4.2/fixes-rc1^2~39^2~18^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e937ee714b2df638275a61a99e0d033682f764d2;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed