Re: [Gluster-devel] How commonly applications make use of fadvise?

2017-08-11 Thread Prashanth Pai
Hi, Both swift[1] and gluster-swift[2] calls posix_fadvise64() with POSIX_FADV_DONTNEED right after calling fdatasync() or fsync(). This is only performed during object PUT operation (writing an object to disk) suggesting the kernel that the data written is no longer needed with the hopes that ca

Re: [Gluster-devel] How commonly applications make use of fadvise?

2017-08-11 Thread Niels de Vos
On Fri, Aug 11, 2017 at 12:47:47AM -0400, Raghavendra Gowdappa wrote: > Hi all, > > In a conversation between me, Milind and Csaba, Milind pointed out > fadvise(2) [1] and its potential benefits to Glusterfs' caching > translators like read-ahead etc. After discussing about it, we agreed > that ou

Re: [Gluster-devel] How commonly applications make use of fadvise?

2017-08-11 Thread Ravishankar N
On 08/11/2017 04:51 PM, Niels de Vos wrote: On Fri, Aug 11, 2017 at 12:47:47AM -0400, Raghavendra Gowdappa wrote: Hi all, In a conversation between me, Milind and Csaba, Milind pointed out fadvise(2) [1] and its potential benefits to Glusterfs' caching translators like read-ahead etc. After d

Re: [Gluster-devel] How commonly applications make use of fadvise?

2017-08-11 Thread Niels de Vos
On Fri, Aug 11, 2017 at 05:50:47PM +0530, Ravishankar N wrote: > > > On 08/11/2017 04:51 PM, Niels de Vos wrote: > > On Fri, Aug 11, 2017 at 12:47:47AM -0400, Raghavendra Gowdappa wrote: > > > Hi all, > > > > > > In a conversation between me, Milind and Csaba, Milind pointed out > > > fadvise(2)

[Gluster-devel] Proposed Protocol changes for 4.0: Need feedback.

2017-08-11 Thread Amar Tumballi
Hi All, Below are the proposed protocol changes (ie, XDR changes on the wire) we are thinking for Gluster 4.0. - rchecksum/fsetattr: Add 'gfid' field on wire Basic work already done at https://review.gluster.org/#/c/3956/ . Considering its 5yrs old patch, I refreshed it at https://review.glu

[Gluster-devel] Coverity covscan for 2017-08-11-811c7ba4 (master branch)

2017-08-11 Thread staticanalysis
GlusterFS Coverity covscan results are available from http://download.gluster.org/pub/gluster/glusterfs/static-analysis/master/glusterfs-coverity/2017-08-11-811c7ba4 ___ Gluster-devel mailing list Gluster-devel@gluster.org http://lists.gluster.org/mailman

Re: [Gluster-devel] [Gluster-Maintainers] Proposed Protocol changes for 4.0: Need feedback.

2017-08-11 Thread Niels de Vos
On Fri, Aug 11, 2017 at 06:04:36PM +0530, Amar Tumballi wrote: > Hi All, > > Below are the proposed protocol changes (ie, XDR changes on the wire) we > are thinking for Gluster 4.0. One of the things that is missing in this list, is to have dictionary entries have a (key, type, value) format. Thi