summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendra@redhat.com>2012-09-06 18:20:39 +0530
committerVijay Bellur <vbellur@redhat.com>2012-12-12 00:14:29 -0500
commit1a14fa83f06e2c92a6c1c05d70180daaeaa78d4c (patch)
tree1fcdcc7bc5f3ac111c9297979096e3aeccf0ed2d
parent4f8dfaa90bddff3e0d094f292764f1d1690f6ec9 (diff)
core/statedump: statedump enahancements
* append timestamp to the statedump filename to prevent old files getting over written * Add start and end markers to statedump to indicate beginning and finishing of statedump information * Make glusterfs take options through /tmp/glusterdump.options file and treating those options with higher prioriry * do not dump the entire inode table in the statedump. Instead just dump the ltable and the fdtable Change-Id: I9a56a5be9970b58d08de509916f88aa2be56d864 Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com> Reviewed-on: https://code.engineering.redhat.com/gerrit/1861 Reviewed-by: Vijay Bellur <vbellur@redhat.com> Tested-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r--libglusterfs/src/statedump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/statedump.c b/libglusterfs/src/statedump.c
index 06c2e63..ca3737e 100644
--- a/libglusterfs/src/statedump.c
+++ b/libglusterfs/src/statedump.c
@@ -553,6 +553,7 @@ gf_proc_dump_enable_default_options ()
return 0;
}
+
static int
gf_proc_dump_disable_all_options ()
{