From 279fbb6f71f36b90480f19e5a98d0b1d27215733 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Thu, 16 Sep 2010 04:04:58 +0000 Subject: performance/write-behind: dump contents of wb-file Signed-off-by: Raghavendra G Signed-off-by: Vijay Bellur BUG: 1059 (enhancements for getting statistics from performance translators) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1059 --- libglusterfs/src/statedump.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libglusterfs/src/statedump.h') diff --git a/libglusterfs/src/statedump.h b/libglusterfs/src/statedump.h index 02cba5bac51..ba23ca559e9 100644 --- a/libglusterfs/src/statedump.h +++ b/libglusterfs/src/statedump.h @@ -35,6 +35,8 @@ typedef struct gf_dump_xl_options_ { gf_boolean_t dump_priv; gf_boolean_t dump_inode; gf_boolean_t dump_fd; + gf_boolean_t dump_inodectx; + gf_boolean_t dump_fdctx; } gf_dump_xl_options_t; typedef struct gf_dump_options_ { @@ -44,6 +46,8 @@ typedef struct gf_dump_options_ { gf_dump_xl_options_t xl_options; //options for all xlators } gf_dump_options_t; +extern gf_dump_options_t dump_options; + static inline void _gf_proc_dump_build_key (char *key, const char *prefix, char *fmt,...) { -- cgit