ceph vfs

Sam Lang slang at inktank.com
Tue Apr 16 09:51:13 MDT 2013


I still have one failing test from smbtorture on the ceph vfs module.
base.open.ctemp test fails with EPERM.  It looks like reply_ctemp() in
source3/smbd/reply.c is doing a mkstemp with the path returned by
realpath, so in the ceph case, its doing:  mkstemp("//TMXXXXXX")

Unsurprisingly, that fails.  On a local filesystem (such as a
directory like /tmp/foo), realpath resolves the path to
/tmp/foo/TMXXXXXX.  But with ceph, no separate mountpoint exists
locally.  How is ctemp meant to be handled by backend vfs modules that
don't have a separate mount running on the smbd server?

-sam


More information about the samba-technical mailing list