summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/stack.h
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/stack.h')
-rw-r--r--libglusterfs/src/stack.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libglusterfs/src/stack.h b/libglusterfs/src/stack.h
index 4a3a788f5ee..e7d0b3ff7f4 100644
--- a/libglusterfs/src/stack.h
+++ b/libglusterfs/src/stack.h
@@ -83,6 +83,13 @@ struct _call_frame {
const char *unwind_to;
};
+struct _ns_info {
+ uint32_t hash; /* Hash of the namespace from SuperFastHash */
+ gf_boolean_t found; /* Set to true if we found a namespace */
+};
+
+typedef struct _ns_info ns_info_t;
+
#define SMALL_GROUP_COUNT 128
struct _call_stack {
@@ -122,6 +129,8 @@ struct _call_stack {
send information over the wire too */
struct timespec ctime; /* timestamp, most probably set at
creation of stack. */
+
+ ns_info_t ns_info;
};