Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nfs: bind layout disposal to layout state id
Motivation: If a client calls CLOSE without LAYOUTRETURN, then, on open-stateid disposal dCach will issue LAYOUT_RECALL. The recall uses layout stateid, this is can be disposed by client before open-stateid disposal is triggered, this client will get BAD_STATEID. Modification: Bind layout disposal to layout stateid. The door still will trigger layout recall, if CLOSE arrives before LAYOUTRETURN, as open-stateid disposal will trigger layout stateid disposal. Result: More predictable behavior. Acked-by: Paul Millar Target: master, 9.0, 8.2 Require-book: no Require-notes: yes
- Loading branch information
Showing
1 changed file
with
42 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters