I've looked into the export.c code in the kernel client.
It looks like the primary issue may be incompleteness, as for
non-connected filehandles, the dentry lookup does not query the mds
but instead returns stalefh if it's not in the cache.
For connected filehandles, ceph_mdsc_* methods are called to lookup dentries.

I understand there's not a lot of interest in re-exporting a ceph fs over NFS.
But if I were to go ahead and investigate the APIs and find how to
make that query for non-connected filehandles, would I be running into
any obvious roadblocks? (I'd consider a "roadblock" something like:
"there's no interface to make that lookup" or "you'll get
non-deterministic results")

thanks,
Brian
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to