Stateless vs stateful

 

- Nonsense, Winifred. An elephant never forgets.

 
  • NFSv4 introduces 2 new operations: OPEN and CLOSE
  • Previous versions had the LOOKUP procedure but were stateless
  • The introduction of these stateful operation permits:
    • Atomicity of share reservations (needed for Windows file sharing and locking semantic)
    • Aggressive client caching and delegation
  • Unique 64-bit IDs for clients are used to detect reboots and reset the state (i.e. preventing stale locks)