Description of problem: ----------------------- 'virt' profile available under /var/lib/glusterd/groups/virt when set on the volume optimizes the volume for VM store usecase. This file disables md-cache ( stat-prefetch ) With the latest perf testing, its been found out that with md-cache there is lot of improvement gain, and its concluded that its crucial to have md-cache enabled. For this to happen, the line that disables stat-prefetch 'performance.stat-prefetch=off' has to be removed. Version-Release number of selected component (if applicable): ------------------------------------------------------------- RHGS 3.2.0 How reproducible: ----------------- Not Applicable Steps to Reproduce: 1. 2. 3. Actual results: --------------- stat-prefetch is disabled in virt-profile Expected results: ----------------- stat-prefetch needs to be enabled Additional info: ---------------- We need to remove the line that disables stat-prefetch in virt-profile
Missed the steps to reproduce in comment0 Steps to Reproduce: 1. # cat /var/lib/glusterd/groups/virt | grep 'stat-prefetch'
upstream patch : https://review.gluster.org/#/c/17713/
https://code.engineering.redhat.com/gerrit/#/c/112060/
Tested with glusterfs-3.8.4-35.el7rhgs The content of virt file is: [root@d ~]# cat /var/lib/glusterd/groups/virt performance.quick-read=off performance.read-ahead=off performance.io-cache=off performance.low-prio-threads=32 network.remote-dio=enable cluster.eager-lock=enable cluster.quorum-type=auto cluster.server-quorum-type=server cluster.data-self-heal-algorithm=full cluster.locking-scheme=granular cluster.shd-max-threads=8 cluster.shd-wait-qlength=10000 features.shard=on user.cifs=off [root@ ~]# rpm -qf /var/lib/glusterd/groups/virt glusterfs-server-3.8.4-35.el7rhgs.x86_64 performance.stat-prefetch is not disabled with the virt profile
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://access.redhat.com/errata/RHBA-2017:2774