Re: [PATCH 0/6] Extended file stat system call

2012-04-28 Thread Dave Chinner
On Fri, Apr 27, 2012 at 01:31:07PM -0600, Andreas Dilger wrote: > On 2012-04-27, at 7:13 AM, Dave Chinner wrote: > > Have a look at fs/xfs/xfs_dinode.h. There's a bunch of flags defined > > at the bottom of the file. > > > > Stuff like the "nodefrag", "nodump", and "prealloc" bits seem fairly > >

Re: [PATCH 0/6] Extended file stat system call

2012-04-28 Thread Steve French
On Fri, Apr 27, 2012 at 7:38 PM, Dave Chinner wrote: > preferred minimum IO size (mp->m_readio_log/mp->m_writeio_log) This discussion about i/o sizes is very interesting. For network file system (at least for SMB2 to all known servers, and for cifs mounts to Samba, but probably for recent NFS),

Re: [PATCH 0/6] Extended file stat system call

2012-04-28 Thread Dave Chinner
On Thu, Apr 26, 2012 at 09:22:04PM -0600, Andreas Dilger wrote: > On 2012-04-26, at 7:06 PM, Dave Chinner wrote: > > On Thu, Apr 19, 2012 at 03:05:58PM +0100, David Howells wrote: > >> > >> Implement a pair of new system calls to provide extended and further > >> extensible stat functions. > >>

Re: [PATCH 0/6] Extended file stat system call

2012-04-28 Thread Paul Eggert
On 04/26/2012 11:25 AM, Roland McGrath wrote: > What I'd really prefer is a name that is less meaninglessly arcane, Since people are used to the string "stat", and since this is about getting related attributes, how about using the string "statr"? Thus "statrat" could be the syscall that acts like