Thread (2 messages) 2 messages, 2 authors, 2012-04-27

Re: [PATCH 1/6] xstat: Add a pair of system calls to make extended file stats available

From: Andreas Dilger <hidden>
Date: 2012-04-27 03:11:21
Also in: linux-cifs, linux-ext4, linux-fsdevel, linux-nfs

On 2012-04-26, at 6:51 PM, Dave Chinner wrote:
On Thu, Apr 26, 2012 at 02:32:36PM +0100, David Howells wrote:
quoted
I wonder if there's a way to make this explicit - or is it something that if the bit isn't set, you can't use the value in st_blksize.
I wonder if this value always has to be non-zero to make sure existing
stat() doesn't explode.
More likely it probably needs to be non-zero to prevent applications
doing division by block size from exploding... ;)
Right, and any application which knows it needs the blocksize should
also be requesting it when using the statxat() (or whatever) syscall.

Cheers, Andreas





--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help