path: root/xlators/debug/sink/
diff options
authorNiels de Vos <>2017-02-21 14:35:52 +0100
committerShyamsundar Ranganathan <>2017-04-25 23:10:38 +0000
commit0451909e0533d357a45dd427226028e095240dac (patch)
treee7acf924cc9819b66afbf069517e7cfe89a439c7 /xlators/debug/sink/
parentdba51428dc16762a9489249f6d9b2e64c0b8303e (diff)
debug/sink: add xlator to aid in resource leak debugging
This new xlator does not allocate any resources on init(). This makes it a good option to use for debugging xlator releated resources leaks on fini(). By putting the sink xlator as single xlator in a .vol file, and loading it through gfapi, we can investigate the resource leaks that are happening through gfapi (and the Gluster core). By extending the .vol file with additional xlators, it is possible to analyze resource leaks of single xlators. Change-Id: Idb5faa861b623dd5b2a988b181e669b0d52c2a0e BUG: 1425623 Fixes: #176 Signed-off-by: Niels de Vos <> Reviewed-on: NetBSD-regression: NetBSD Build System <> CentOS-regression: Gluster Build System <> Smoke: Gluster Build System <> Reviewed-by: Shyamsundar Ranganathan <>
Diffstat (limited to 'xlators/debug/sink/')
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/debug/sink/ b/xlators/debug/sink/
new file mode 100644
index 00000000000..f2689244371
--- /dev/null
+++ b/xlators/debug/sink/
@@ -0,0 +1,2 @@
+SUBDIRS = src