Sachin Punadikar has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/487038 )
Change subject: Fix Ganesha crash by sending stats
......................................................................
Fix Ganesha crash by sending stats
"ganesha_stats" with option client_all_ops sends stats for client
specific ops, but only if they are non-zero. In case if "reset"
operation was conducted, and there is no further activity by that
client, then no stats would be sent, leading to crash of Ganesha in
DBUS library code.
To avoid this, work-around is opted in which stats for the first
operation of that protocol will be always sent across. This will
avoid the crash.
Change-Id: Iec81e27d23459374062434b64f2273f97e548e86
Signed-off-by: Sachin Punadikar <psachin(a)in.ibm.com>
---
M src/support/server_stats.c
1 file changed, 28 insertions(+), 3 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/38/487038/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/487038
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: Iec81e27d23459374062434b64f2273f97e548e86
Gerrit-Change-Number: 487038
Gerrit-PatchSet: 1
Gerrit-Owner: Sachin Punadikar <psachin(a)in.ibm.com>
Gerrit-MessageType: newchange