This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 0/6] Extended file stat system call
- From: Steve French <smfrench at gmail dot com>
- To: Dave Chinner <david at fromorbit dot com>
- Cc: Andreas Dilger <adilger at whamcloud dot com>, David Howells <dhowells at redhat dot com>, linux-fsdevel at vger dot kernel dot org, linux-nfs at vger dot kernel dot org, linux-cifs at vger dot kernel dot org, samba-technical at lists dot samba dot org, linux-ext4 at vger dot kernel dot org, wine-devel at winehq dot org, linux-api at vger dot kernel dot org, libc-alpha at sourceware dot org
- Date: Fri, 27 Apr 2012 19:54:12 -0500
- Subject: Re: [PATCH 0/6] Extended file stat system call
- References: <20120419140558.17272.74360.stgit@warthog.procyon.org.uk><20120427010610.GE9541@dastard><ED5B8F1B-6C99-4516-85FA-A767E94B635F@dilger.ca><20120428003833.GH9541@dastard>
On Fri, Apr 27, 2012 at 7:38 PM, Dave Chinner <david@fromorbit.com> wrote:
> preferred minimum IO size (mp->m_readio_log/mp->m_writeio_log)
This discussion about i/o sizes is very interesting. For network
file system (at least for SMB2 to all known servers, and
for cifs mounts to Samba, but probably for recent NFS), ideal i/o
sizes are often well over a megabyte ... but how to indicate that to
the application...
> That's why I'd prefer specific optimal IO hints - we don't have to
> overload st_blksize with lots of meanings to pass what is relatively
> trivial information back to the application.
>
> Cheers,
>
> Dave.
> --
> Dave Chinner
Yes.
--
Thanks,
Steve