diff options
| author | Raghavendra G <raghavendra@gluster.com> | 2010-09-16 04:04:58 +0000 | 
|---|---|---|
| committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-16 06:38:38 -0700 | 
| commit | 279fbb6f71f36b90480f19e5a98d0b1d27215733 (patch) | |
| tree | 86801a1c9c37bd303433991595064a2e24ec4a55 /libglusterfs/src/statedump.h | |
| parent | 27d45ce245376cb012b0dd80dee6ccb26cc12645 (diff) | |
performance/write-behind: dump contents of wb-file
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1059 (enhancements for getting statistics from performance translators)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1059
Diffstat (limited to 'libglusterfs/src/statedump.h')
| -rw-r--r-- | libglusterfs/src/statedump.h | 4 | 
1 files changed, 4 insertions, 0 deletions
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,...)  {  | 
