I am building an FSAL wrt 2.4-stable and had a few questions
https://github.com/nfs-ganesha/nfs-ganesha/blob/V2.4-stable/src/include/fsal_api.h
1) When is fsal_set_credentials() to be called ?
I noticed FSALs call it at varying places.
VFS does it in get_quota, set_quota, open2, write2, commit2, mkdir, mknod,
symlink, rename, unlink
CEPH - write2
GPFS does it in get_quota, set_quota, create, create2, commit2, open, read,
write, mkdir, mknod, link, rename, symlink, unlink
2) There is a mdcache FSAL layered above the FSAL in 2.4. Is the cache
then per-export or per-fsal ?
3) What are the situations under which an FSAL would need to mandatorily
take fsal_obj_handle.lock ?
https://github.com/nfs-ganesha/nfs-ganesha/blob/V2.4-stable/src/include/fsal_api.h#L3002
In some cases, the upper layer has already taken the lock (e.g open,
close). There is very little documentation on this aspect.
-Sandeep
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Nfs-ganesha-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel