Re: [Cluster-devel] [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-25 Thread Trond Myklebust
On Fri, Jul 25, 2014 at 4:02 PM, Steven Whitehouse wrote: > Hi, > > > On 25/07/14 19:28, Zach Brown wrote: >> > >> How do the file systems that implement directory read-ahead today deal >> with this? > > I don't know of one that does - or at least readahead of the directory info > itself is one

Re: [Cluster-devel] [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-25 Thread Steven Whitehouse
Hi, On 25/07/14 19:28, Zach Brown wrote: On Fri, Jul 25, 2014 at 07:08:12PM +0100, Steven Whitehouse wrote: Hi, On 25/07/14 18:52, Zach Brown wrote: [snip] Hmm. Have you tried plumbing these read-ahead calls in under the normal getdents() syscalls? We don't have a filereadahead() syscall

Re: [Cluster-devel] [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-25 Thread Steven Whitehouse
Hi, On 25/07/14 18:52, Zach Brown wrote: On Fri, Jul 25, 2014 at 01:37:19PM -0400, Abhijith Das wrote: Hi all, The topic of a readdirplus-like syscall had come up for discussion at last year's LSF/MM collab summit. I wrote a couple of syscalls with their GFS2 implementations to get at a

Re: [Cluster-devel] [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-25 Thread Zach Brown
On Fri, Jul 25, 2014 at 07:08:12PM +0100, Steven Whitehouse wrote: > Hi, > > On 25/07/14 18:52, Zach Brown wrote: > >On Fri, Jul 25, 2014 at 01:37:19PM -0400, Abhijith Das wrote: > >>Hi all, > >> > >>The topic of a readdirplus-like syscall had come up for discussion at last > >>year's > >>LSF/MM

Re: [Cluster-devel] [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-25 Thread Zach Brown
On Fri, Jul 25, 2014 at 07:08:12PM +0100, Steven Whitehouse wrote: Hi, On 25/07/14 18:52, Zach Brown wrote: On Fri, Jul 25, 2014 at 01:37:19PM -0400, Abhijith Das wrote: Hi all, The topic of a readdirplus-like syscall had come up for discussion at last year's LSF/MM collab summit. I

Re: [Cluster-devel] [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-25 Thread Steven Whitehouse
Hi, On 25/07/14 18:52, Zach Brown wrote: On Fri, Jul 25, 2014 at 01:37:19PM -0400, Abhijith Das wrote: Hi all, The topic of a readdirplus-like syscall had come up for discussion at last year's LSF/MM collab summit. I wrote a couple of syscalls with their GFS2 implementations to get at a

Re: [Cluster-devel] [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-25 Thread Steven Whitehouse
Hi, On 25/07/14 19:28, Zach Brown wrote: On Fri, Jul 25, 2014 at 07:08:12PM +0100, Steven Whitehouse wrote: Hi, On 25/07/14 18:52, Zach Brown wrote: [snip] Hmm. Have you tried plumbing these read-ahead calls in under the normal getdents() syscalls? We don't have a filereadahead() syscall

Re: [Cluster-devel] [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-25 Thread Trond Myklebust
On Fri, Jul 25, 2014 at 4:02 PM, Steven Whitehouse swhit...@redhat.com wrote: Hi, On 25/07/14 19:28, Zach Brown wrote: How do the file systems that implement directory read-ahead today deal with this? I don't know of one that does - or at least readahead of the directory info itself is