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
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. Allow-unstable-test: true Required-githooks: true Change-Id: Icbd5abb648110559851002301e758128e4ced2c7 Signed-off-by: Johann Lombardi <johann.lombardi@gmail.com> Signed-off-by: Jeff Olivier <jeffolivier@google.com>
- Loading branch information