>From Daniel Gryniewicz <d...@redhat.com>:
Daniel Gryniewicz has uploaded a new change for review. (
https://review.gerrithub.io/350056
Change subject: SAL - Keep a pointer to the obj owning the state
......................................................................
SAL - Keep a pointer to the obj owning the state
State keeps a refcount on the obj, and looking up via weak reference can
cause issues when the underlying file has been deleted. Insteah, just
keep a pointer to the obj, since MDCACHE guaranteed the pointer is
stable.
Change-Id: Ia7c327bc694f7be21bc5a9802abfefc3f697d133
Signed-off-by: Daniel Gryniewicz <d...@redhat.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c
M src/SAL/nfs4_state.c
M src/SAL/nfs4_state_id.c
M src/SAL/nlm_state.c
M src/include/sal_data.h
M src/include/sal_functions.h
6 files changed, 27 insertions(+), 88 deletions(-)
git pull ssh://review.gerrithub.io:29419/ffilz/nfs-ganesha
refs/changes/56/350056/1
--
To view, visit https://review.gerrithub.io/350056
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia7c327bc694f7be21bc5a9802abfefc3f697d133
Gerrit-Change-Number: 350056
Gerrit-PatchSet: 1
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
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