Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-30 Thread Dave Chinner
l" , > > "cluster-devel" > > Sent: Friday, July 25, 2014 7:38:59 PM > > Subject: Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead > > syscalls > > > > On Fri, Jul 25, 2014 at 10:52:57AM -0700, Zach Brown wrote: > > > On Fri, Ju

Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-30 Thread Dave Chinner
On Mon, Jul 28, 2014 at 03:21:20PM -0600, Andreas Dilger wrote: > On Jul 25, 2014, at 6:38 PM, Dave Chinner wrote: > > On Fri, Jul 25, 2014 at 10:52:57AM -0700, Zach Brown wrote: > >> On Fri, Jul 25, 2014 at 01:37:19PM -0400, Abhijith Das wrote: > >>> Hi all, > >>> > >>> The topic of a

Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-30 Thread Dave Chinner
On Mon, Jul 28, 2014 at 03:21:20PM -0600, Andreas Dilger wrote: On Jul 25, 2014, at 6:38 PM, Dave Chinner da...@fromorbit.com wrote: On Fri, Jul 25, 2014 at 10:52:57AM -0700, Zach Brown wrote: On Fri, Jul 25, 2014 at 01:37:19PM -0400, Abhijith Das wrote: Hi all, The topic of a

Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-30 Thread Dave Chinner
-devel cluster-de...@redhat.com Sent: Friday, July 25, 2014 7:38:59 PM Subject: Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls On Fri, Jul 25, 2014 at 10:52:57AM -0700, Zach Brown wrote: On Fri, Jul 25, 2014 at 01:37:19PM -0400, Abhijith Das wrote: Hi all

Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-28 Thread Andreas Dilger
On Jul 25, 2014, at 6:38 PM, Dave Chinner wrote: > On Fri, Jul 25, 2014 at 10:52:57AM -0700, 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: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-28 Thread Zuckerman, Boris
ve Chinner > Cc: linux-kernel@vger.kernel.org; linux-fsdevel; cluster-devel > Subject: Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead > syscalls > > > > - Original Message - > > From: "Dave Chinner" > > To: "Zac

Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-28 Thread Abhijith Das
- Original Message - > From: "Dave Chinner" > To: "Zach Brown" > Cc: "Abhijith Das" , linux-kernel@vger.kernel.org, > "linux-fsdevel" , > "cluster-devel" > Sent: Friday, July 25, 2014 7:38:59 PM > Subject: Re: [

Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-28 Thread Abhijith Das
Subject: Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls On Fri, Jul 25, 2014 at 10:52:57AM -0700, 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

RE: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-28 Thread Zuckerman, Boris
: linux-kernel@vger.kernel.org; linux-fsdevel; cluster-devel Subject: Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls - Original Message - From: Dave Chinner da...@fromorbit.com To: Zach Brown z...@redhat.com Cc: Abhijith Das a...@redhat.com, linux-kernel

Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-28 Thread Andreas Dilger
On Jul 25, 2014, at 6:38 PM, Dave Chinner da...@fromorbit.com wrote: On Fri, Jul 25, 2014 at 10:52:57AM -0700, 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: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-25 Thread Dave Chinner
On Fri, Jul 25, 2014 at 10:52:57AM -0700, 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

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: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-25 Thread Zach Brown
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 directory's entries as well as

[RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-25 Thread Abhijith Das
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 directory's entries as well as stat() info on the individual inodes. I'm presenting these patches and some

[RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-25 Thread Abhijith Das
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 directory's entries as well as stat() info on the individual inodes. I'm presenting these patches and some

Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-25 Thread Zach Brown
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 directory's entries as well as stat()

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

Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-25 Thread Dave Chinner
On Fri, Jul 25, 2014 at 10:52:57AM -0700, 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