Daniel Gryniewicz has uploaded this change for review.

View Change

FSAL_MEM - Allow whence_is_name readdir

Change the index tree to use a hash of the name, rather than a
sequential counter. This makes the dir order more like a real FS, and
less likely to hide bugs. In addition, it allows a traversal order tied
to the name.

Add a global that allows setting whence_is_name for MEM. No other
changes are necessary. This allows testing the MDCACHE whence_is_name
code.

Change-Id: Ic20fe9aa43316ecbf3eec4e1943354ac4efed21c
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
---
M src/FSAL/FSAL_MEM/mem_handle.c
M src/FSAL/FSAL_MEM/mem_int.h
M src/FSAL/FSAL_MEM/mem_main.c
3 files changed, 97 insertions(+), 27 deletions(-)

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

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

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