From 1a14fa83f06e2c92a6c1c05d70180daaeaa78d4c Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Thu, 6 Sep 2012 18:20:39 +0530 Subject: 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 Reviewed-on: https://code.engineering.redhat.com/gerrit/1861 Reviewed-by: Vijay Bellur Tested-by: Vijay Bellur --- libglusterfs/src/statedump.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libglusterfs') diff --git a/libglusterfs/src/statedump.c b/libglusterfs/src/statedump.c index 06c2e6391d0..ca3737ea6ad 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 () { -- cgit