[PATCH 0/6] Extended file stat system call

David Howells dhowells at redhat.com
Fri Apr 27 03:19:09 MDT 2012


Andreas Dilger <adilger at dilger.ca> 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


More information about the samba-technical mailing list