summaryrefslogtreecommitdiffstats
path: root/xlators/mount
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mount')
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index 85b7d15f6c4..dcb4e2950f6 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -2928,6 +2928,18 @@ fuse_thread_proc (void *data)
}
int32_t
+fuse_itable_dump (xlator_t *this)
+{
+ if (!this)
+ return -1;
+
+ gf_proc_dump_add_section("xlator.mount.fuse.itable");
+ inode_table_dump(this->itable, "xlator.mount.fuse.itable");
+
+ return 0;
+}
+
+int32_t
fuse_priv_dump (xlator_t *this)
{
fuse_private_t *private = NULL;
@@ -3244,6 +3256,7 @@ struct xlator_mops mops = {
struct xlator_dumpops dumpops = {
.priv = fuse_priv_dump,
+ .inode = fuse_itable_dump,
};
struct volume_options options[] = {