-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DAOS-13938 dfuse: adjust offset in readdir cache entry list (#15190)
The dfuse readdir caching feature stats entries returned by dfs readdir that might be legimitely deleted by another process or another node. When this happens, the dfuse code decides to skip the deleted entry, but might leave the readdir entry cache in an inconsistent state causing the following assertion failure in dfuse_dre_drop(): drc->drc_next_offset == expected_offset + 1 || drc->drc_next_offset == READDIR_EOD This patch fixes the offset in the linked list of cached readdir entries to support skipped entries. Signed-off-by: Johann Lombardi <johann.lombardi@gmail.com>
- Loading branch information
1 parent
2661ebc
commit f42e4c5
Showing
1 changed file
with
18 additions
and
7 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