[PATCH] Statlite - without VFS changes

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Jan 2 04:23:40 MST 2015

On Fri, Jan 02, 2015 at 03:28:37PM +0530, Shekhar Amlekar wrote:
> Ok, but this is still similar to our option
> one. A new VFS call, that takes path as input
> and returns partial stat, would need changes
> to the VFS modules that change path or static
> fields in the stat struct (catia, mh, cap,
> scannedonly, fake_perms, fake_acls etc). We
> need to see if we are okay to put in these
> changes.

What could be a reason that would block such a change?

> So, here are the three options I can think of-
> -A new VFS call; Need changes to VFS modules
> that handle stat/lstat
> -stlite_mask as an input inside stat_ex struct
> -stlite_mask as an input to stat/lstat
> vfs routines
> -any other options ?

Whatever we do, I'd prefer this to be really obviously visible without any
hidden state anywhere. Eventually all callers of the VFS stat calls should
specify which stat struct fields they require with high precision. We
need to smoothly migrate towards that.


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de

More information about the samba-technical mailing list