Re: [PATCH 0/3] Extended file stat functions [ver #2]

2013-11-28 Thread Jan Kara
On Thu 28-11-13 13:07:24, David Howells wrote: > Jan Kara wrote: > > > > unsigned long long st_blocks; > > When we are doing this, can we please also change 'st_blocks' to > > 'st_bytes'? We track space usage in kernel in bytes for a long time so it > > would be nice to propagate

Re: [PATCH 0/3] Extended file stat functions [ver #2]

2013-11-28 Thread David Howells
Jan Kara wrote: > > unsigned long long st_blocks; > When we are doing this, can we please also change 'st_blocks' to > 'st_bytes'? We track space usage in kernel in bytes for a long time so it > would be nice to propagate it to userspace via stat instead of a special > ioctl (a

Re: [PATCH 0/3] Extended file stat functions [ver #2]

2013-11-26 Thread Jan Kara
Hello, On Wed 30-06-10 02:16:56, David Howells wrote: > Implement a pair of new system calls to provide extended and further > extensible > stat functions. > > The third of the associated patches provides these new system calls: > > struct xstat_dev { > unsigned intmaj