>From Daniel Gryniewicz <d...@redhat.com>:
Daniel Gryniewicz has uploaded this change for review. (
https://review.gerrithub.io/356949
Change subject: MDCACHE - Ensure parent lookups use wire handle
......................................................................
MDCACHE - Ensure parent lookups use wire handle
In order for create_handle() to work, it needs to be passed a wire
handle, not a key. However, the parent pointer was a key. This worked
for most FSALs, since they used the entire handle as the key, but a few
FSALs, notably GPFS, only use a subset of the handle as the key, causing
parent lookups to fail and always create a new handle.
To fix this, make the parent pointer be a full handle, rather than a
key. At some point in the future, it may be advisible to revisit the
handle/key API with the FSALs to streamline this.
Change-Id: I084d46b9441cdce0701da977c479cef34cfd0f52
Signed-off-by: Daniel Gryniewicz <d...@redhat.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_int.h
2 files changed, 53 insertions(+), 9 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha
refs/changes/49/356949/1
--
To view, visit https://review.gerrithub.io/356949
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I084d46b9441cdce0701da977c479cef34cfd0f52
Gerrit-Change-Number: 356949
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Gryniewicz <d...@redhat.com>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel