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

From: David Howells
Date: Thu Nov 28 2013 - 08:08:46 EST


Jan Kara <jack@xxxxxxx> 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.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/