session: use target_highest_slotid to limit slot table
adds support for CB_RECALL_SLOT with function nfs41_session_recall_slot() when SEQUENCE or CB_RECALL_SLOT gives us a valid target_highest_slotid, use it to update max_slots Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
1905abd027
commit
a3146af76d
4 changed files with 49 additions and 6 deletions
|
|
@ -179,7 +179,8 @@ retry:
|
|||
if (seq->sr_resok4.sr_status_flags)
|
||||
print_sr_status_flags(1, seq->sr_resok4.sr_status_flags);
|
||||
|
||||
nfs41_session_bump_seq(session, args->sa_slotid);
|
||||
nfs41_session_bump_seq(session, args->sa_slotid,
|
||||
seq->sr_resok4.sr_target_highest_slotid);
|
||||
|
||||
/* check sequence status flags for state revocation */
|
||||
if (try_recovery && seq->sr_resok4.sr_status_flags)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue