summaryrefslogtreecommitdiffstats
path: root/xlators/performance
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2018-11-29 22:27:59 +0200
committerAmar Tumballi <amarts@redhat.com>2018-11-30 11:51:18 +0000
commit98a672f5046620f5fc751ea803e0dfa0bf4e18d3 (patch)
tree36229652444b5be54d101d35d8cf8a6e7c3baa65 /xlators/performance
parente74d997f0d7eeb91fe6b5f0f0c3969bf4ac53f9f (diff)
Multiple xlator .h files: remove unused private gf_* memory types.
It seems there were quite a few unused enums (that in turn cause unndeeded memory allocation) in some xlators. I've removed them, hopefully not causing any damage. Compile-tested only! updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com> Change-Id: I8252bd763dc1506e2d922496d896cd2fc0886ea7
Diffstat (limited to 'xlators/performance')
-rw-r--r--xlators/performance/nl-cache/src/nl-cache-mem-types.h3
-rw-r--r--xlators/performance/quick-read/src/quick-read-mem-types.h4
2 files changed, 1 insertions, 6 deletions
diff --git a/xlators/performance/nl-cache/src/nl-cache-mem-types.h b/xlators/performance/nl-cache/src/nl-cache-mem-types.h
index bc61eeca9da..fa8c7775ef7 100644
--- a/xlators/performance/nl-cache/src/nl-cache-mem-types.h
+++ b/xlators/performance/nl-cache/src/nl-cache-mem-types.h
@@ -14,8 +14,7 @@
#include "mem-types.h"
enum gf_nlc_mem_types_ {
- gf_nlc_mt_conf_t = gf_common_mt_end + 1,
- gf_nlc_mt_nlc_conf_t,
+ gf_nlc_mt_nlc_conf_t = gf_common_mt_end + 1,
gf_nlc_mt_nlc_ctx_t,
gf_nlc_mt_nlc_local_t,
gf_nlc_mt_nlc_pe_t,
diff --git a/xlators/performance/quick-read/src/quick-read-mem-types.h b/xlators/performance/quick-read/src/quick-read-mem-types.h
index 0ebd7e81c3a..5783132c28a 100644
--- a/xlators/performance/quick-read/src/quick-read-mem-types.h
+++ b/xlators/performance/quick-read/src/quick-read-mem-types.h
@@ -16,12 +16,8 @@
enum gf_qr_mem_types_ {
gf_qr_mt_qr_inode_t = gf_common_mt_end + 1,
gf_qr_mt_content_t,
- gf_qr_mt_qr_fd_ctx_t,
- gf_qr_mt_iovec,
- gf_qr_mt_qr_conf_t,
gf_qr_mt_qr_priority_t,
gf_qr_mt_qr_private_t,
- gf_qr_mt_qr_unlink_ctx_t,
gf_qr_mt_end
};
#endif