Daniel Gryniewicz has uploaded this change for review.
MDCACHE - Fix readdir chunking when reloading chunks
- Track the first and last chunks in a readdir cycle in the readdir
state; this allows reloading the first chunk.
- Track the CK used to reload a chunk. We can't use the first CK, since
that will load the second entry in the chunk.
- When we reload a chunk, skip all the entries in that chunk we already
returned to the caller, to avoid duplicate dirents.
Change-Id: I2a85036aa6a93a773a37d174056c3e1aa764f6bb
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_int.h
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c
3 files changed, 48 insertions(+), 19 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/87/427787/1
To view, visit change 427787. To unsubscribe, or for help writing mail filters, visit settings.