Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LU-376 Positive LL_DIR_END_OFF to indicate the tail of dir hash/offset
1) Keep 'MDS_DIR_END_OFF' unchanged (0xfffffffffffffffeULL) to simplify dir hash/offset related interoperability issues. 2) Introduce positive "LL_DIR_END_OFF" (0x7fffffffffffffffULL) on client to indicate the tail of dir hash/offset for up layer callers, like llseek(), readdir(), and so on. 3) Support 1.8 client to talk with old 2.0 server with 32bit hash. Change-Id: I126ddb170b9ee24d1ae0610ac6343c9b0f5e4c70 Signed-off-by: nasf <yong.fan@whamcloud.com> Reviewed-on: http://review.whamcloud.com/887 Tested-by: Hudson Reviewed-by: Johann Lombardi <johann@whamcloud.com>
- Loading branch information
Showing
6 changed files
with
102 additions
and
103 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
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
Oops, something went wrong.