Solomon Boulos has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/487475 )
Change subject: Avoid allocating memory on every rpc for v3 proxy.
......................................................................
Avoid allocating memory on every rpc for v3 proxy.
Like opening a socket, it's worthwhile to just malloc the bytes once and reuse
them if possible. Like the V4 proxy, I shoved this into a struct alongside the
socket (fd_entry). cthon still passes, but readdir is still quite slow.
Change-Id: I803ee391ae15b38fda632b543c2188c524fb8a56
Signed-off-by: Solomon Boulos <boulos(a)google.com>
---
M src/FSAL/FSAL_PROXY_V3/rpc.c
1 file changed, 180 insertions(+), 128 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/75/487475/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/487475
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: I803ee391ae15b38fda632b543c2188c524fb8a56
Gerrit-Change-Number: 487475
Gerrit-PatchSet: 1
Gerrit-Owner: Solomon Boulos <boulos(a)google.com>
Gerrit-MessageType: newchange