[PATCH 0/6] Extended file stat system call

David Howells dhowells-H+wXaHxf7aLQT0dZR+AlfA at public.gmane.org
Fri Apr 27 10:19:09 BST 2012


Andreas Dilger <adilger-m1MBpc4rdrD3fQ9qLvQP4Q at public.gmane.org> wrote:

> > However, since there is a remote file ID, we could add an
> > XSTAT_INFO_FILE_ID flag to indicate there's a standard xattr holding this.
> 
> It is a bit strange that the kernel would return a flag that was not
> requested, but not fatal.

On the other hand, if it costs the kernel nothing to generate this indicator...

For network filesystems, for instance, you might know that there is some other
file ID because of the way the fs is specified.

I was thinking that many of the fields will be given values, even if you don't
ask for them, because the values (or approximations thereof) are present in
memory already.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA at public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html




More information about the kfm-devel mailing list