summaryrefslogtreecommitdiffstats
path: root/xlators/performance/decompounder/src/decompounder-mem-types.h
diff options
context:
space:
mode:
authorAnuradha Talur <atalur@redhat.com>2016-04-21 17:20:09 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2016-04-25 23:47:28 -0700
commit9996f95b28b3782887b7c233cdc0ba686c38b245 (patch)
tree5fa681f25b95dd9aeec88f3bf86adbc98bd2c1d3 /xlators/performance/decompounder/src/decompounder-mem-types.h
parent2dc22adbf3361bdab10924943371492cc2817d8a (diff)
performance/decompounder: Introducing decompounder xlator
This xlator decompounds the compound fops received, and executes them serially. Change-Id: Ieddcec3c2983dd9ca7919ba9d7ecaa5192a5f489 BUG: 1303829 Signed-off-by: Anuradha Talur <atalur@redhat.com> Reviewed-on: http://review.gluster.org/13577 Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/performance/decompounder/src/decompounder-mem-types.h')
-rw-r--r--xlators/performance/decompounder/src/decompounder-mem-types.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/xlators/performance/decompounder/src/decompounder-mem-types.h b/xlators/performance/decompounder/src/decompounder-mem-types.h
new file mode 100644
index 00000000000..5c211c1a907
--- /dev/null
+++ b/xlators/performance/decompounder/src/decompounder-mem-types.h
@@ -0,0 +1,20 @@
+/*
+ Copyright (c) 2016 Red Hat, Inc. <http://www.redhat.com>
+ This file is part of GlusterFS.
+
+ This file is licensed to you under your choice of the GNU Lesser
+ General Public License, version 3 or any later version (LGPLv3 or
+ later), or the GNU General Public License, version 2 (GPLv2), in all
+ cases as published by the Free Software Foundation.
+*/
+
+#ifndef __DC_MEM_TYPES_H__
+#define __DC_MEM_TYPES_H__
+
+#include "mem-types.h"
+
+enum gf_dc_mem_types_ {
+ gf_dc_mt_rsp_t = gf_common_mt_end + 1,
+ gf_dc_mt_end
+};
+#endif