NFS version 4.0 for FreeBSD-CURRENT

John Baldwin jhb at freebsd.org
Fri Mar 20 12:46:07 PDT 2009


On Friday 20 March 2009 12:03:57 pm Rick Macklem wrote:
> 
> On Thu, 19 Mar 2009, Zachary Loafman wrote:
> 
> [good stuff snipped]
> >
> > I don't know if that affects the timing on this being merged to CURRENT
> > or not. It might be nice if we had an opportunity to review some things
> > prior to APIs/VOPs being set in stone, but it would also be nice to get
> > wider exposure for Rick's code.
> >
> Other than the va_filerev/i_modrev issue already mentioned (btw, I grep'd
> /usr/src and nothing uses va_filerev outside the kernel, it seems), I 
> realized there is another API/VOP issue (kinda in the trivial category, 
> but I should mention it). FreeBSD-CURRENT is out of bits for mnt_flag (the 
> last spare one is used by Edward's ACL code) and it would be nice to add a 
> couple of MNT_EXxxx flags for things like enabling/disabling delegations.
> 
> Two obvious possible solutions:
> 1 - bump mnt_flag up to 64 bits
> 2 - create a separate mnt_exflag field

FreeBSD in general is moving away from new flags in mnt_flags I believe.  At 
least if you purely need NFS-specific flags you can just add new string 
options via nmount(2) and set appropriate settings in private flags field in 
your NFS-specific mount data.

-- 
John Baldwin


More information about the freebsd-arch mailing list