Re: [PATCH 0/6] Extended file stat system call

David Howells <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha,gmane.linux.file-systems,gmane.linux.nfs,gmane.linux.kernel.cifs,gmane.network.samba.internals,gmane.comp.file-systems.ext4,gmane.comp.emulators.wine.devel,gmane.comp.kde.devel.kfm,gmane.comp.gnome.nautilus,gmane.linux.kernel.api
Message-ID <[email protected]>
Dave Chinner <[email protected]> wrote:

> 	st_blksize		- file block size
> 	st_alloc_blksize	- allocation block size/alignment
> 	st_small_io_size	- IO size/alignment that avoids
> 				  filesystem/page cache RMW
> 	st_preferred_io_size	- preferred IO size for general
> 				  usage.
> 	st_large_io_size	- IO size/alignment for high
> 				  bandwidth sequential IO

What is st_blksize here?  Is it directly comparable (if such a thing is
possible) to st_blksize in struct stat?  Or does st_preferred_io_size map to
the current st_blksize and your st_blksize map to actual media block size (and
if so, is that the same as st_alloc_blksize?  - I presume st_alloc_blksize
must be a multiple of the media block size).

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.