hammer2 - Implement NFS export support

Operating Systems / DragonFlyBSD - Matthew Dillon [apollo.backplane.com] - 19 June 2016 18:28 UTC

- Allow a hammer2 mount to be exported. Implement required functionality: The export structure, fhtovp, vptofh, checkexp, and hammer2_vfs_vget. Uses the recent inode indexing changes.

- Also had to write some code to reconstruct the ip->pip linkages using iparent.

Note that if possible I would like to remove the ip->pip stuff now that we have iparent, at least for files. It won't work for hardlinks so... but its still in as of this writing.

c92abd0 hammer2 - Implement NFS export support
sys/vfs/hammer2/hammer2.h | 1 +
sys/vfs/hammer2/hammer2_inode.c | 53 +++++++++++++++++++++
sys/vfs/hammer2/hammer2_vfsops.c | 95 +++++++++++++++++++++++++++++++++++---
3 files changed, 142 insertions(+), 7 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share