From db20a0f8a99f715a77366e518720612f043d5c9e Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Mon, 20 Feb 2012 18:42:37 +0530 Subject: libglusterfs: Implement circular buffer and event history Implement circular buffer framework, so that it can be used by other components such as event history management. And event history is implemented which can be used by xlator to dump some information to a file (such as information of some structure etc). Through statedump, history of each xlator can be dumped. An option called history should be given to the statedump command. Change-Id: I7c5e8f6bd1018584eaee856e933e7c4b94c6709c BUG: 795419 Signed-off-by: Raghavendra Bhat Reviewed-on: http://review.gluster.com/2769 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- libglusterfs/src/statedump.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libglusterfs/src/statedump.h') diff --git a/libglusterfs/src/statedump.h b/libglusterfs/src/statedump.h index cdeb5b7fc0..595802117d 100644 --- a/libglusterfs/src/statedump.h +++ b/libglusterfs/src/statedump.h @@ -32,6 +32,7 @@ typedef struct gf_dump_xl_options_ { gf_boolean_t dump_fd; gf_boolean_t dump_inodectx; gf_boolean_t dump_fdctx; + gf_boolean_t dump_history; } gf_dump_xl_options_t; typedef struct gf_dump_options_ { -- cgit