Sachin Punadikar has uploaded this change for review.

View Change

Separate out client specific stats per protocol

Currently client specific stats, "client_all_ops" option, provides statistics
on all operations of NFSv3, NLM, and NFSv4.x protocols. While sending this data
over DBUS, this exceeds the DBUS limits leading to Ganesha crash/hang situation.
To limit the data flow over DBUS, this patch supports 2 options for client
specific statistics - "client_all_v3_ops" and "client_all_v4_ops".
"client_all_v3_ops" option provides stats of all ops of NFSv3+NLM
"client_all_v4_ops" option provides stats of all ops of NFSv4.x (NFSv4.0,
NFSv4.1, NFSv4.2 etc)

Change-Id: I0f46dd8c042fb3a295661f410b97bf3bb5bc2d38
Signed-off-by: root <psachin@in.ibm.com>
(cherry picked from commit 57e0f40b33a36b0cffb8b53eb2d121f8beb23636)
---
M src/include/gsh_config.h
M src/include/server_stats_private.h
M src/scripts/ganeshactl/Ganesha/glib_dbus_stats.py
M src/scripts/ganeshactl/ganesha_stats.py
M src/support/client_mgr.c
M src/support/export_mgr.c
M src/support/nfs_read_conf.c
M src/support/server_stats.c
8 files changed, 313 insertions(+), 154 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I0f46dd8c042fb3a295661f410b97bf3bb5bc2d38
Gerrit-Change-Number: 487661
Gerrit-PatchSet: 1
Gerrit-Owner: Sachin Punadikar <psachin@in.ibm.com>
Gerrit-MessageType: newchange