session: handle NFS4ERR_BADSLOT errors

NFS4ERR_BADSLOT indicates that the supplied slotid is outside the server's expected range.  update table.max_slots to this value to prevent it from being used again, then acquire a new slot and retry the rpc

Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
Casey Bodley 2012-05-10 12:26:32 -04:00 committed by Olga Kornievskaia
parent a3146af76d
commit 30e8df149e
3 changed files with 37 additions and 0 deletions

View file

@ -370,6 +370,10 @@ void nfs41_session_sequence(
nfs41_session *session,
bool_t cachethis);
int nfs41_session_bad_slot(
IN nfs41_session *session,
IN OUT struct __nfs41_sequence_args *args);
/* nfs41_server.c */
void nfs41_server_list_init();