Gaurav has uploaded this change for review.

View Change

MDCACHE: Avoid refreshing valid mdcache attrs.

No need to check for ATTR_RDATTR_ERR for request_mask in
mdcache_test_attrs_trust, some callers could set it,
which will result in refreshing mdcache attrs, since valid_mask
won't match request_mask.

Extra stat calls to refresh mdcache getattrs impacting NFSV3 low latency
reads, since we could end up doing double getattrs in nfs3_complete_read.

Signed-off-by: Gaurav Gangalwar <gaurav.gangalwar@nutanix.com>
Change-Id: I3e410c17e06f6c108ffb2e87bd4ccf96d298ac71
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_int.h
1 file changed, 19 insertions(+), 1 deletion(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/03/541703/1

To view, visit change 541703. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I3e410c17e06f6c108ffb2e87bd4ccf96d298ac71
Gerrit-Change-Number: 541703
Gerrit-PatchSet: 1
Gerrit-Owner: Gaurav <gaurav.gangalwar@gmail.com>
Gerrit-MessageType: newchange