Soumya has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/442905 Change subject: Do not refresh attrs if the file is delegated ...................................................................... Do not refresh attrs if the file is delegated If a file is read delegated, then no other client can modify the file data and hence we can trust the cached attrs. And incase any client holds write delegation, we either update cached attributes via CB_GETATTR or recall the delegation before responding to the other clients. Hence it seems safe to avoid refreshing regular attributes from the backend FSAL if there is delegation granted to a file. However this should be the case only if the md-cache is enabled (i.e, expire_time_attr is not set to '0'). Change-Id: Iffbe76b6c089b6435826a7f72240f9a9804e5ddd Signed-off-by: Soumya Koduri <skoduri@redhat.com> --- M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c 1 file changed, 12 insertions(+), 3 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/05/442905/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/442905 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: Iffbe76b6c089b6435826a7f72240f9a9804e5ddd Gerrit-Change-Number: 442905 Gerrit-PatchSet: 1 Gerrit-Owner: Soumya <skoduri@redhat.com> Gerrit-MessageType: newchange