summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/xlator.h
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/xlator.h')
-rw-r--r--libglusterfs/src/xlator.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h
index ef79c354f..208f7a64a 100644
--- a/libglusterfs/src/xlator.h
+++ b/libglusterfs/src/xlator.h
@@ -75,8 +75,6 @@ typedef int32_t (*event_notify_fn_t) (xlator_t *this, int32_t event, void *data,
#include "globals.h"
#include "iatt.h"
-
-
struct _loc {
const char *path;
const char *name;
@@ -85,6 +83,7 @@ struct _loc {
inode_t *parent;
};
+
typedef int32_t (*fop_getspec_cbk_t) (call_frame_t *frame,
void *cookie,
xlator_t *this,
@@ -816,6 +815,8 @@ struct _xlator {
int32_t (*mem_acct_init) (xlator_t *this);
event_notify_fn_t notify;
+ gf_loglevel_t loglevel; /* Log level for translator */
+
/* for latency measurement */
fop_latency_t latencies[GF_FOP_MAXVALUE];