diff options
| author | Vijay Bellur <vijay@gluster.com> | 2009-08-15 12:58:08 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2009-08-19 17:57:53 -0700 | 
| commit | b4d6c3d1bb461d2c8a396c9ed3881a4da40fc6ab (patch) | |
| tree | 7a5a15665d46a91b9d4d744b0da599c4628d7f6c /libglusterfs/src/xlator.h | |
| parent | a31b0016347b3bc9b341fa0f4541ed137224f593 (diff) | |
TAKE2[PATCH BUG:213 1/1] Support for Process State Dump
Support for process state dump.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 213 (Support for process state dump)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=213
Diffstat (limited to 'libglusterfs/src/xlator.h')
| -rw-r--r-- | libglusterfs/src/xlator.h | 22 | 
1 files changed, 18 insertions, 4 deletions
diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h index e8fc9d2503b..2e815af911a 100644 --- a/libglusterfs/src/xlator.h +++ b/libglusterfs/src/xlator.h @@ -806,6 +806,19 @@ struct xlator_cbks {  	cbk_release_t   releasedir;  }; +typedef int32_t (*dumpop_priv_t) (xlator_t *this); + +typedef int32_t (*dumpop_inode_t) (xlator_t *this); + +typedef int32_t (*dumpop_fd_t)  (xlator_t   *this); + +                               +struct xlator_dumpops { +	dumpop_priv_t            priv; +	dumpop_inode_t           inode; +        dumpop_fd_t              fd; +}; +  typedef struct xlator_list {  	xlator_t           *xlator;  	struct xlator_list *next; @@ -859,10 +872,11 @@ struct _xlator {  	dict_t        *options;  	/* Set after doing dlopen() */ -	struct xlator_fops *fops; -	struct xlator_mops *mops; -	struct xlator_cbks *cbks; -	struct list_head   volume_options;  /* list of volume_option_t */ +	struct xlator_fops    *fops; +	struct xlator_mops    *mops; +	struct xlator_cbks    *cbks; +	struct xlator_dumpops *dumpops; +	struct list_head      volume_options;  /* list of volume_option_t */  	void              (*fini) (xlator_t *this);  	int32_t           (*init) (xlator_t *this);  | 
