[PATCHES] - Statlite Support in Samba/GPFS vfs

Shekhar Amlekar samlekar at in.ibm.com
Tue Sep 30 05:08:29 MDT 2014


Please find attached patches that implement statlite support in Samba and 
gpfs vfs. Would you please review and let me know any comments/suggestions 
that you may have.

It is known that in clustered file systems, a writer on a node can be 
slowed down significantly by exact stat calls happening on other nodes. A 
partial stat, wherever sufficient, helps in such cases. For this purpose, 
we have support for (l)statlite() in gpfs, that we would like to make use 

I've defined following vfs entry points -

statlite(handle, dirfd, smb_fname, atflag, slitemask);
fstatlite(handle, fsp, sbuf, slitemask);

The existing stat/lstat/fstat calls in Samba can be mapped onto above lite 
variants wherever required, Later, if fstatatlite becomes available, it'd 
be possible to map the fstatat to statlite vfs call using the dirfd. I'm 
identifying places in the code where these lite calls can be utilized - 
and can post those patches later.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: statlite
Type: application/octet-stream
Size: 18411 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140930/4eabb79a/attachment.obj>

More information about the samba-technical mailing list