>From Frank Filz <[email protected]>: Frank Filz has uploaded a new change for review.
https://review.gerrithub.io/274795 Change subject: Streamline fsal_close ...................................................................... Streamline fsal_close The same method for fsal close is used whether support_ex is enabled or not. This patch makes a simple fsal_close function that handles all the conditions. Since sometimes, support_ex has already been checked and is negative, a flag parameter is used to indicate if checking should be skipped (in which case it is assumed negative). This also assures that legacy fsal close method is only called when fsal status call indicates the file is open. A call to fsal_close for a non-regular file simply results in a successful return. Change-Id: I907f5fc8b4aa2462395186d8c10592e7b16567f5 Signed-off-by: Frank S. Filz <[email protected]> --- M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c M src/FSAL/fsal_helper.c M src/Protocols/9P/9p_proto_tools.c M src/Protocols/9P/9p_remove.c M src/Protocols/NFS/nfs4_op_close.c M src/SAL/nfs4_state.c M src/include/fsal.h 8 files changed, 60 insertions(+), 73 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/95/274795/1 -- To view, visit https://review.gerrithub.io/274795 To unsubscribe, visit https://review.gerrithub.io/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I907f5fc8b4aa2462395186d8c10592e7b16567f5 Gerrit-PatchSet: 1 Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Owner: Frank Filz <[email protected]> ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Nfs-ganesha-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
