This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Extended file stat: Splitting file- and fs-specific info?
- From: Roland McGrath <roland at hack dot frob dot com>
- To: David Howells <dhowells at redhat dot com>
- Cc: Andreas Dilger <aedilger at gmail dot com>, Dave Chinner <david at fromorbit dot com>, "adilger at dilger dot ca" <adilger at dilger dot ca>, "bfields at fieldses dot org" <bfields at fieldses dot org>, "smfrench at gmail dot com" <smfrench at gmail dot com>, "ben at decadent dot org dot uk" <ben at decadent dot org dot uk>, "Trond dot Myklebust at netapp dot com" <Trond dot Myklebust at netapp dot com>, "linux-fsdevel at vger dot kernel dot org" <linux-fsdevel at vger dot kernel dot org>, "linux-nfs at vger dot kernel dot org" <linux-nfs at vger dot kernel dot org>, "linux-cifs at vger dot kernel dot org" <linux-cifs at vger dot kernel dot org>, "samba-technical at lists dot samba dot org" <samba-technical at lists dot samba dot org>, "linux-ext4 at vger dot kernel dot org" <linux-ext4 at vger dot kernel dot org>, "linux-api at vger dot kernel dot org" <linux-api at vger dot kernel dot org>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Thu, 10 May 2012 10:10:16 -0700 (PDT)
- Subject: Re: Extended file stat: Splitting file- and fs-specific info?
- References: <73759631-F1E4-4352-9FE6-E9F576F793FB@gmail.com><20120419140558.17272.74360.stgit@warthog.procyon.org.uk><16281.1336508382@redhat.com><20120509002420.GL5091@dastard><14477.1336641794@redhat.com>
POSIX specifies st_blksize thusly: "A file system-specific preferred I/O
block size for this object. In some file system types, this may vary from
file to file."
Since there is only one available to POSIX applications, it should map to
the one that's described as "preferred IO size for general usage".
Thanks,
Roland