>From Daniel Gryniewicz <d...@redhat.com>:
Daniel Gryniewicz has uploaded this change for review. (
https://review.gerrithub.io/358710
Change subject: Fixup handle/key usage
......................................................................
Fixup handle/key usage
During the MDCACHE conversion, the usage of wire handles and keys was
conflated. This didn't cause problems for most FSALs, since they used
the same thing for both, but it was broken none-the-less.
Clean this up, by removing the calls to extract_handle() before calls to
create_handle(). This means that create_handle() always takes a wire
handle, not a key.
Change MDCACHE to handle this, by extracting the key for lookups, but
using the wire handle for handle creation.
Extend the endianess flags to the create_handle() call, so that it can
be passed into MDCACHE.
Change-Id: I67d19ef341bcefcf4b76c45a073eaa5778e3a266
Signed-off-by: Daniel Gryniewicz <d...@redhat.com>
---
M src/FSAL/FSAL_CEPH/export.c
M src/FSAL/FSAL_GLUSTER/export.c
M src/FSAL/FSAL_GPFS/gpfs_methods.h
M src/FSAL/FSAL_GPFS/handle.c
M src/FSAL/FSAL_MEM/mem_handle.c
M src/FSAL/FSAL_MEM/mem_methods.h
M src/FSAL/FSAL_PROXY/handle.c
M src/FSAL/FSAL_PROXY/pxy_fsal_methods.h
M src/FSAL/FSAL_PSEUDO/handle.c
M src/FSAL/FSAL_PSEUDO/pseudofs_methods.h
M src/FSAL/FSAL_RGW/export.c
M src/FSAL/FSAL_VFS/handle.c
M src/FSAL/FSAL_VFS/vfs_methods.h
M src/FSAL/FSAL_ZFS/handle.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_int.h
M src/FSAL/Stackable_FSALs/FSAL_NULL/handle.c
M src/FSAL/Stackable_FSALs/FSAL_NULL/nullfs_methods.h
M src/FSAL/default_methods.c
M src/FSAL_UP/fsal_up_top.c
M src/Protocols/9P/9p_attach.c
M src/Protocols/NFS/nfs4_op_putfh.c
M src/include/fsal_api.h
M src/include/nfs_fh.h
M src/support/nfs_filehandle_mgmt.c
26 files changed, 81 insertions(+), 66 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha
refs/changes/10/358710/1
--
To view, visit https://review.gerrithub.io/358710
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I67d19ef341bcefcf4b76c45a073eaa5778e3a266
Gerrit-Change-Number: 358710
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