Suhas Athani has uploaded this change for review.

View Change

gRPC: Add gRPC clientstats APIs for layouts, delegations, IOops, allops, and 9P

- Extend `cltmgrService.ClientStats` with the remaining
`org.ganesha.nfsd.clientstats` D-Bus methods beyond
per-version I/O:
GetNFSv41Layouts
GetNFSv42Layouts
GetDelegations
GetClientIOops
GetClientAllops
Get9pIO
Get9pTrans
Get9pOpStats
- Add shared protobuf types in `nfsProtoUtil.proto` and
C/C++ bridge structs in `server_stats_grpc.h`, with
extraction in `server_stats.c` and client lookup /
orchestration in `client_mgr.c`.
- Wire handlers in `nfsServiceServer.cc` using the
existing `ClientStatsService` registration; errors
stay in `StatusResponse` with transport `OK`, matching
D-Bus semantics.

Change-Id: I491ede619ba6c0da03476f66c0d919b89f4e951b
Signed-off-by: Suhas Athani <Suhas.Athani@ibm.com>
---
M src/grpc_server/nfsService.h
M src/grpc_server/nfsServiceServer.cc
M src/grpc_server/proto/cltmgrService.proto
M src/grpc_server/proto/nfsProtoUtil.proto
M src/include/server_stats_grpc.h
M src/support/client_mgr.c
M src/support/server_stats.c
7 files changed, 1,631 insertions(+), 1 deletion(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I491ede619ba6c0da03476f66c0d919b89f4e951b
Gerrit-Change-Number: 1242549
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani@ibm.com>