Daniel Gryniewicz has uploaded this change for review.

View Change

MDCACHE - Release refs on dirents when chunk not consumed

If we don't consume all of a newly loaded chunk, then the refs on the
entries in that chunk are left over, and aren't cleared until the
directory is invalidated.

In this case, clear the refs on the entries when we bail early from a
chunk.

Change-Id: I61c6608898cb999c8440929504cf122b4bef232b
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
1 file changed, 30 insertions(+), 0 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/33/456633/1

To view, visit change 456633. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I61c6608898cb999c8440929504cf122b4bef232b
Gerrit-Change-Number: 456633
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Gryniewicz <dang@redhat.com>
Gerrit-MessageType: newchange