[RFC PATCH] CephFS Snapshots VFS module

David Disseldorp ddiss at samba.org
Fri Mar 29 10:45:37 UTC 2019


On Thu, 28 Mar 2019 14:10:34 -0700, Jeremy Allison wrote:

> > libcephfs doesn't currently offer an fdopendir equivalent, so the
> > existing implementation peeks at fsp->fsp_name->base_name, which can
> > break if vfs_ceph is used under a separate path-munging VFS module.
> > 
> > Return ENOSYS instead and rely on existing OpenDir_fsp() fallback.  
> 
> Any chance libcephfs will be implementing fdopendir()
> sometime ?

I'm not aware of any work on this. I'll raise it upstream.

> It's a really important call for removing pathname
> race conditions from Samba.

Thanks for the heads-up.

Cheers, David



More information about the samba-technical mailing list