The following five patches fix problems during state reclaim. They incorporate Trond's comments and apply to Trond's nfs-for-next branch. Patches 2 and 5 handle session errors by scheduling the state recovery. They do not differentiate between DEAD/BADSESSION and other session errors in order to be consistent with the existing error handling. If this needs to be different, I can submit a separate patch to address all of the areas that handle this. Patch 4 is new in the series. It results from the changes requested to Patch 1. [PATCH 1/5] nfs41: Mark stateids in need of reclaim if state manager gets stale clientid [PATCH 2/5] nfs41: Handle session errors during delegation return [PATCH 3/5] nfs41: Retry delegation return if it failed with session error [PATCH 4/5] nfs41: New NFS4CLNT_RECLAIM_COMPLETE_PENDING state [PATCH 5/5] nfs41: Handle NFSv4.1 session errors in the delegation recall code - ricardo -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html