Idan Eldar has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1207220?usp=email )
Change subject: Add register and deregister connection callbacks to the connection
manager
......................................................................
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(a)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
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1207220?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
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(a)google.com>