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:
Casey Bodley 2012-05-09 13:48:35 -04:00 committed by Olga Kornievskaia
parent 1905abd027
commit a3146af76d
4 changed files with 49 additions and 6 deletions

View file

@ -347,7 +347,8 @@ void nfs41_session_free(
void nfs41_session_bump_seq(
IN nfs41_session *session,
IN uint32_t slotid);
IN uint32_t slotid,
IN uint32_t target_highest_slotid);
void nfs41_session_free_slot(
IN nfs41_session *session,
@ -359,6 +360,10 @@ void nfs41_session_get_slot(
OUT uint32_t *seq,
OUT uint32_t *highest);
int nfs41_session_recall_slot(
IN nfs41_session *session,
IN OUT uint32_t target_highest_slotid);
struct __nfs41_sequence_args;
void nfs41_session_sequence(
struct __nfs41_sequence_args *args,