Hi How can I turn off readdirp? I saw some solution but they don't work. I tried server side gluster volume vol performance.force-readdirp off gluster volume vol dht.force-readdirp off gluster volume vol perforamnce.read-ahead off and in client side fuse mount mount -t glusterfs server:/vol /mnt -o user.readdirp=no but I can see just readdirp request in server. What shold I do? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170823/24900567/attachment.html>
On Wed, Aug 23, 2017 at 08:06:18PM +0430, Tahereh Fattahi wrote:> Hi > How can I turn off readdirp? > I saw some solution but they don't work. > > I tried server side > gluster volume vol performance.force-readdirp off > gluster volume vol dht.force-readdirp off > gluster volume vol perforamnce.read-ahead off > and in client side fuse mount > mount -t glusterfs server:/vol /mnt -o user.readdirp=no > > but I can see just readdirp request in server. > > What shold I do?Try mounting like this: # mount -t glusterfs server:/vol -o use-readdirp=no /mnt HTH, Niels
excuse me I do like your command but in my email it was displaced. On Wed, Aug 23, 2017 at 8:59 PM, Niels de Vos <ndevos at redhat.com> wrote:> On Wed, Aug 23, 2017 at 08:06:18PM +0430, Tahereh Fattahi wrote: > > Hi > > How can I turn off readdirp? > > I saw some solution but they don't work. > > > > I tried server side > > gluster volume vol performance.force-readdirp off > > gluster volume vol dht.force-readdirp off > > gluster volume vol perforamnce.read-ahead off > > and in client side fuse mount > > mount -t glusterfs server:/vol /mnt -o user.readdirp=no > > > > but I can see just readdirp request in server. > > > > What shold I do? > > Try mounting like this: > > # mount -t glusterfs server:/vol -o use-readdirp=no /mnt > > > HTH, > Niels >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170823/53ec6138/attachment.html>