>From Daniel Gryniewicz <d...@redhat.com>:

Daniel Gryniewicz has uploaded a new change for review.

  https://review.gerrithub.io/290975

Change subject: MDCACHE - Call the default test_access() directly
......................................................................

MDCACHE - Call the default test_access() directly

All FSALs currently use the default test_access() implementation.
However, MDCACHE was calling into the sub-FSAL anyway.  This means that,
when the default test_access() called getattr(), it was uncached,
causing high latency.  Since test_access() is a very common operation,
this was slowing things down a lot.

As a work-around, call the default test_access() directly.  If, at some
future point, some FSAL wants to override test_access(), this will have
to be revisited.

Change-Id: Iba4ab7ece5818a7c752a5fe42e54b78ec6f06467
Signed-off-by: Daniel Gryniewicz <d...@redhat.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c
1 file changed, 10 insertions(+), 2 deletions(-)


  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/75/290975/1
-- 
To view, visit https://review.gerrithub.io/290975
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iba4ab7ece5818a7c752a5fe42e54b78ec6f06467
Gerrit-PatchSet: 1
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Owner: Daniel Gryniewicz <d...@redhat.com>

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to