From Daniel Gryniewicz <dang(a)redhat.com>:
Daniel Gryniewicz has uploaded this change for review. (
https://review.gerrithub.io/420068
Change subject: Revert dirent accounting
......................................................................
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(a)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
https://review.gerrithub.io/420068
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: I6b3110767e566bb13ebef39896857d71a9583e17
Gerrit-Change-Number: 420068
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Gryniewicz <dang(a)redhat.com>