Skip to content
Commit 9b206149 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4: The stateid must remain the same for replayed RPC calls



If we replay a READ or WRITE call, we should not be changing the
stateid. Currently, we may end up doing so, because the stateid
is only selected at xdr encode time.

This patch ensures that we select the stateid after we get an NFSv4.1
session slot, and that we keep that same stateid across retries.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 8c86899f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment