diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2012-09-05 13:07:49 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2012-09-06 04:01:30 -0700 |
commit | be1d21a8795b215035f546c8da83df205afeb449 (patch) | |
tree | 61b40e638ca2bd66348ba68171fd25010c2337db /libglusterfs/src/graph.l | |
parent | d6c99b6134f1eb90b3a8020c3538101df266e9b5 (diff) |
core/statedump: parse the file and set the path of the statedump files
* As of now "gluster volume set statedump-path" option sets the path of
the statedump files for brick processes only. If SIGUSR1 is sent directly
to all the gluster processes instead of using gluster cli command, then
some of the statedumps will still be in /tmp (such as nfs server, glustershd).
* This patch makes glusterfs processes search for the file
/tmp/glusterdump.options and consider the options given in it. There if path
key is set, then all the processes use that path when SIGUSR1 is sent or cli
statedump command is executed. (Note that after taking statedump, if
/tmp/glusterdump.options file is removed, then the default way is resumed).
Change-Id: I2e8fbfb4823318512e03b234e90d3a3888724ddc
BUG: 851175
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-on: http://review.gluster.org/3907
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'libglusterfs/src/graph.l')
0 files changed, 0 insertions, 0 deletions