From Daniel Gryniewicz <dang(a)redhat.com>:
Daniel Gryniewicz has uploaded this change for review. (
https://review.gerrithub.io/427787
Change subject: MDCACHE - Fix readdir chunking when reloading chunks
......................................................................
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(a)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
https://review.gerrithub.io/427787
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2a85036aa6a93a773a37d174056c3e1aa764f6bb
Gerrit-Change-Number: 427787
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Gryniewicz <dang(a)redhat.com>