We should return fsGroup:false from the init call to prevent the chown.
The main Gluster driver already skips it, so this change would make the behavior consistent with the main implementation of Gluster and greatly speed the mount operation for volumes with a high file count.
https://github.com/kubernetes/kubernetes/pull/68680 added a new flag on the init call
fsGroup
that, when set to false, will skip the recursive change group of all the files in the PV on each mount.We should return
fsGroup:false
from the init call to prevent the chown.The main Gluster driver already skips it, so this change would make the behavior consistent with the main implementation of Gluster and greatly speed the mount operation for volumes with a high file count.