Idan Eldar has uploaded this change for review.

View Change

Add register and deregister connection callbacks to the connection manager

By using these callbacks Ganesha can notify the FSAL when connections start and end.
That way a FSAL can optimize "DRAIN" requests for misbehaving clients.
Adjusted "drain_and_disconnect" callback to reduce the number of RPC requests sent to the FSAL.

Change-Id: Ic65b87eff4d2873803cd96b6cccf240aa5ace2f0
Signed-off-by: Idan Eldar <idaneldar@google.com>
---
M src/RPCAL/connection_manager.c
M src/include/connection_manager.h
2 files changed, 251 insertions(+), 82 deletions(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ic65b87eff4d2873803cd96b6cccf240aa5ace2f0
Gerrit-Change-Number: 1207220
Gerrit-PatchSet: 1
Gerrit-Owner: Idan Eldar <idaneldar@google.com>