Best practices: Adding Persistent Handle support

Christoph Hellwig hch at infradead.org
Fri Jun 2 06:41:14 UTC 2017


On Thu, Jun 01, 2017 at 09:26:45PM -0500, Christopher R. Hertel via samba-technical wrote:
> I guess the reason my wording seemed convoluted is that I was thinking of
> the situation in which, for example, you had three shares on XFS file
> systems and another two shares on GlusterFS (or some such).  In that case,
> you want to be specific about which VFS modules you load for which
> particular shares.  You don't want to load a Persistent Handle module on the
> XFS shares, for instance.

For XFS shares (or in fact any Linux file system) you should use the
open_by_handle_at and name_to_handle_at syscalls.  Of course I'm not
too familar with the detailed rules of Samba structure, but as a Linux
user and developer I'd expect these to be just available on a Linux
setup without having to load magic modules.

> 
> Chris -)-----
> 
---end quoted text---



More information about the samba-technical mailing list