-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nfs4: initialize newly created state ids with sequence zero
Motivation: typically, every time when file's open/lock/layout state id is used to change file's state, the sequence number is incremented. Thus newly created stateid should have sequence zero, as it will be bumped during processing. As currently sequence number initialized with one (1), fresh created lock and layout state ids have sequence 2 when sent to the clients. Modification: Initialize sequence number of newly created state ids with zero. Increment open state id's sequence number for all state ids. Result: better spec compliance, as lock and layout state ids will start with sequence 1. Acked-by: Jürgen Starek Target: master, 0.19 (cherry picked from commit 0d385e4) Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
- Loading branch information
Showing
3 changed files
with
3 additions
and
3 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
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
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