Daniel Gryniewicz has uploaded this change for review.
Revert dirent accounting
c7c336e1cd2495ec5ffbb0dac7de31ac5711c077 changed dirent accounting to
track the number of dirents. However, with 128 dirents / chunk, and
with chunks in the LRU, it could happen that a readdir reaped chunks
from that readdir. This change is still desirable, but needs to be
reworked with protection for in-use chunks.
Change-Id: I6b3110767e566bb13ebef39896857d71a9583e17
Signed-off-by: Daniel Gryniewicz <dang@fprintf.net>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_avl.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_ext.h
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.h
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_read_conf.c
6 files changed, 47 insertions(+), 288 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/68/420068/1
To view, visit change 420068. To unsubscribe, or for help writing mail filters, visit settings.