[S] Change in ...nfs-ganesha[next]: COMMIT: fsal_reopen_obj() called with FSAL_O_ANY to try avoid opening...
Arnab Tah has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/550651 ) Change subject: COMMIT: fsal_reopen_obj() called with FSAL_O_ANY to try avoid opening globalfd ...................................................................... COMMIT: fsal_reopen_obj() called with FSAL_O_ANY to try avoid opening globalfd Fixes: https://github.com/nfs-ganesha/nfs-ganesha/issues/902 FSAL commit2 functions call fsal_reopen_obj() with openflags argument as FSAL_O_WRITE. Which causes it to generate a global FD (unless there is already a compatible one open).Since, fsync system call doesn't require a fd to be open for write; it is adequate to call fsal_reopen_obj() with openflags as FSAL_O_ANY. Change-Id: I0a469b6001f911127a0ac34e568a6205fbcd3b2a Signed-off-by: Arnab Tah <atah@ddn.com> --- M src/FSAL/FSAL_CEPH/handle.c M src/FSAL/FSAL_GLUSTER/handle.c M src/FSAL/FSAL_GPFS/file.c M src/FSAL/FSAL_LIZARDFS/handle.c M src/FSAL/FSAL_VFS/file.c 5 files changed, 23 insertions(+), 5 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/51/550651/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/550651 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I0a469b6001f911127a0ac34e568a6205fbcd3b2a Gerrit-Change-Number: 550651 Gerrit-PatchSet: 1 Gerrit-Owner: Arnab Tah <atah@ddn.com> Gerrit-MessageType: newchange
participants (1)
-
Arnab Tah (GerritHub)