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



Andreas Dilger <adilger 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]