Description of problem: Tests have shown a benefit to I/O when using direct-io options. This RFE requests the addition of missing options to all the volumes defined within a HC configuration. Version-Release number of selected component (if applicable): RHGS 3.1.3 Please add the following settings network.remote-dio: disable performance.strict-o-direct: on Additional info:
Commit: https://github.com/gluster/gdeploy/commit/99d441755 fixes the issue.
Tested with gdeploy-2.0.1-2.el7rhgs remote-dio is disabled and strict-o-direct is enabled on all the volumes # grep remote-dio /usr/share/doc/gdeploy/examples/hc.conf -A1 key=group,storage.owner-uid,storage.owner-gid,features.shard,features.shard-block-size,performance.low-prio-threads,cluster.data-self-heal-algorithm,cluster.locking-scheme,cluster.shd-wait-qlength,cluster.shd-max-threads,network.ping-timeout,user.cifs,nfs.disable,performance.strict-o-direct,network.remote-dio value=virt,36,36,on,512MB,32,full,granular,10000,6,30,off,on,on,off -- key=group,storage.owner-uid,storage.owner-gid,features.shard,features.shard-block-size,performance.low-prio-threads,cluster.data-self-heal-algorithm,cluster.locking-scheme,cluster.shd-wait-qlength,cluster.shd-max-threads,network.ping-timeout,user.cifs,nfs.disable,performance.strict-o-direct,network.remote-dio value=virt,36,36,on,512MB,32,full,granular,10000,6,30,off,on,on,off -- key=group,storage.owner-uid,storage.owner-gid,features.shard,features.shard-block-size,performance.low-prio-threads,cluster.data-self-heal-algorithm,cluster.locking-scheme,cluster.shd-wait-qlength,cluster.shd-max-threads,network.ping-timeout,user.cifs,nfs.disable,performance.strict-o-direct,network.remote-dio value=virt,36,36,on,512MB,32,full,granular,10000,6,30,off,on,on,off
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2017-0483.html