Extended file stat: Splitting file- and fs-specific info?

Andreas Dilger adilger at dilger.ca
Thu May 10 10:05:28 MDT 2012


On 2012-05-10, at 3:23 AM, David Howells wrote:
> Andreas Dilger <aedilger at gmail.com> wrote:
>> The main question I have about these fields is what the difference is
>> between st_blksize and st_alloc_blksize?
> 
> I would assume that st_blksize is some ideal I/O size, not the
> allocation block size.

But there are several optimal IO sizes, so unless there is a clear
description of what each of these fields is intended to be used for,
it doesn't make sense to add them in.

> Dave Chinner might be able to answer better as he suggested these
> I/O information fields.
> 
> David


Cheers, Andreas







More information about the samba-technical mailing list