Solomon Boulos has uploaded this change for review.
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@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 change 487475. To unsubscribe, or for help writing mail filters, visit settings.