>From Daniel Gryniewicz <d...@redhat.com>:
Daniel Gryniewicz has uploaded this change for review. (
https://review.gerrithub.io/353390
Change subject: MDCACHE - Handle FSALs where rename doesn't preserve key
......................................................................
MDCACHE - Handle FSALs where rename doesn't preserve key
There are FSALs (currently only FSAL_RGW) where a rename of an object,
even within the same directory, changes the key used by MDCACHE. This
means that a renamed dirent will point to the wrong object.
To accomplish this, add a new fso flag indicating that a FSAL keeps key
on rename. It's true on all FSALs other than RGW at this point.
Change-Id: I65bd2b1c9ad857fbc7ef5cde2c3be1b1ca4dbadf
Signed-off-by: Daniel Gryniewicz <d...@redhat.com>
---
M src/FSAL/FSAL_GLUSTER/main.c
M src/FSAL/FSAL_GPFS/main.c
M src/FSAL/FSAL_PROXY/main.c
M src/FSAL/FSAL_PSEUDO/main.c
M src/FSAL/FSAL_RGW/main.c
M src/FSAL/FSAL_VFS/panfs/main.c
M src/FSAL/FSAL_VFS/vfs/main.c
M src/FSAL/FSAL_VFS/xfs/main.c
M src/FSAL/FSAL_ZFS/main.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_main.c
M src/FSAL/Stackable_FSALs/FSAL_NULL/main.c
M src/FSAL/fsal_config.c
M src/include/fsal_types.h
14 files changed, 33 insertions(+), 2 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha
refs/changes/90/353390/1
--
To view, visit https://review.gerrithub.io/353390
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I65bd2b1c9ad857fbc7ef5cde2c3be1b1ca4dbadf
Gerrit-Change-Number: 353390
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