diff options
author | Amar Tumballi <amarts@redhat.com> | 2019-04-12 08:16:56 +0530 |
---|---|---|
committer | Xavi Hernandez <xhernandez@redhat.com> | 2019-05-30 07:32:34 +0000 |
commit | 71caf1423fe5f0eed652210f8158c95fc8a10219 (patch) | |
tree | f4a226040e3105df6c3ecb690244ed3236cd8556 /glusterfsd | |
parent | bfe58919c03ea746aa6c7800fe698b15ca8c6ecb (diff) |
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 <amarts@redhat.com>
Diffstat (limited to 'glusterfsd')
-rw-r--r-- | glusterfsd/src/glusterfsd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index f1b7d742fbc..8773f2d8536 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -1672,14 +1672,12 @@ reincarnate(int signum) ctx = glusterfsd_ctx; cmd_args = &ctx->cmd_args; + gf_msg_trace("gluster", 0, "received reincarnate request (sig:HUP)"); + if (cmd_args->volfile_server) { gf_msg("glusterfsd", GF_LOG_INFO, 0, glusterfsd_msg_11, "Fetching the volume file from server..."); ret = glusterfs_volfile_fetch(ctx); - } else { - gf_msg_debug("glusterfsd", 0, - "Not reloading volume specification file" - " on SIGHUP"); } /* Also, SIGHUP should do logrotate */ |