summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/glusterfs.h
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2017-09-07 18:48:34 +0530
committerAmar Tumballi <amarts@redhat.com>2017-09-24 06:22:07 +0000
commit956d43d6e89d40ee683547003b876f1f456f03b6 (patch)
tree55a2289be12d67edba0e6a3b4d9b7341ce46532a /libglusterfs/src/glusterfs.h
parentf449e53df7c07301b495b4ff688d165026dfd2d0 (diff)
mount/fuse: Make event-history feature configurable
... and disable it by default. This is because having it disabled seems to improve performance. This could be due to the lock contention by the different epoll threads on the circular buff lock in the fop cbks just before writing their response to /dev/fuse. Just to provide some data - wrt ovirt-gluster hyperconverged environment, I saw an increase in IOPs by 12K with event-history disabled for randrom read workload. Usage: mount -t glusterfs -o event-history=on $HOSTNAME:$VOLNAME $MOUNTPOINT OR glusterfs --event-history=on --volfile-server=$HOSTNAME --volfile-id=$VOLNAME $MOUNTPOINT Change-Id: Ia533788d309c78688a315dc8cd04d30fad9e9485 BUG: 1467614 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Diffstat (limited to 'libglusterfs/src/glusterfs.h')
-rw-r--r--libglusterfs/src/glusterfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
index 37ce5d91a1c..045f631f40e 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -423,6 +423,7 @@ struct _cmd_args {
char *subdir_mount;
char *process_name;
+ char *event_history;
};
typedef struct _cmd_args cmd_args_t;