From 71caf1423fe5f0eed652210f8158c95fc8a10219 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Fri, 12 Apr 2019 08:16:56 +0530 Subject: tests: add tests for different signal handling Also some cleanup: * old-protocol.t was actually added to make sure we have line-coverage * first-test.t should have been removed as per the comment. It doesn't do anything. * add statvfs to rpc-coverage so we can cover statvfs in few xlators. updates: bz#1693692 Change-Id: Ie8651ce007de484c4abced16b4de765aa5e517be Signed-off-by: Amar Tumballi --- libglusterfs/src/monitoring.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libglusterfs/src/monitoring.c') diff --git a/libglusterfs/src/monitoring.c b/libglusterfs/src/monitoring.c index 6d9bfb14937..45e3d776903 100644 --- a/libglusterfs/src/monitoring.c +++ b/libglusterfs/src/monitoring.c @@ -230,6 +230,8 @@ gf_monitor_metrics(glusterfs_ctx_t *ctx) int fd = 0; char *filepath = NULL, *dumppath = NULL; + gf_msg_trace("monitoring", 0, "received monitoring request (sig:USR2)"); + dumppath = ctx->config.metrics_dumppath; if (dumppath == NULL) { dumppath = GLUSTER_METRICS_DIR; -- cgit