[lkml]   [2013]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 0/3] Extended file stat functions [ver #2]
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 (at least quotacheck(8) needs to know the exact value).

Ummm... I'm not sure about that. Ideally, every field that is provided in
the current stat() buffer must still be there. On the other hand, since
they're going to be moved around, presumably there will be a userspace
translation layer.


 \ /
  Last update: 2013-11-28 15:01    [W:0.121 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site