Solomon Boulos has uploaded this change for review.

View Change

Implement a basic connection pool to reuse sockets.

leffler@ found that with enough parallelism, it's easy to exhaust the open
reserved ports for the NFS clients. I'd needed to do this anyway to avoid
long-distance TCP connection openings, so here's a simple one with a small list.

Change-Id: I817b774d2aca3082106ddd52cd879f04661abf22
Signed-off-by: Solomon Boulos <boulos@google.com>
---
M src/FSAL/FSAL_PROXY_V3/rpc.c
1 file changed, 360 insertions(+), 92 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I817b774d2aca3082106ddd52cd879f04661abf22
Gerrit-Change-Number: 487458
Gerrit-PatchSet: 1
Gerrit-Owner: Solomon Boulos <boulos@google.com>
Gerrit-MessageType: newchange