summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/glusterfs
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2020-07-28 18:31:23 +0530
committerAmar Tumballi <amar@kadalu.io>2020-07-29 08:00:10 +0000
commitca7fda9068dbaf1a8083c673c8cbee29a49a50d5 (patch)
treeb3c58d63844274d43c4462831c077e28605bb84c /libglusterfs/src/glusterfs
parent74a195e475e893eb2ed0f814f88a1d726ad50114 (diff)
statedump: Dump xlator-name for mem-pool object
Fixes: #1399 Change-Id: I11cf75a0ea9a16724f36f73feb1c90dabed25c4b Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'libglusterfs/src/glusterfs')
-rw-r--r--libglusterfs/src/glusterfs/mem-pool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs/mem-pool.h b/libglusterfs/src/glusterfs/mem-pool.h
index 90fb8820c74..0fd1214e27d 100644
--- a/libglusterfs/src/glusterfs/mem-pool.h
+++ b/libglusterfs/src/glusterfs/mem-pool.h
@@ -209,6 +209,7 @@ struct mem_pool {
unsigned long sizeof_type;
unsigned long count; /* requested pool size (unused) */
char *name;
+ char *xl_name;
gf_atomic_t active; /* current allocations */
#ifdef DEBUG
gf_atomic_t hit; /* number of allocations served from pt_pool */