git: hammer2 - Implement NFS export support

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jun 19 16:35:24 PDT 2016


commit c92abd0f77ba75e840c762f6ac141f120ccb38dd
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jun 19 16:25:16 2016 -0700

    hammer2 - Implement NFS export support
    
    * 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.

Summary of changes:
 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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c92abd0f77ba75e840c762f6ac141f120ccb38dd


-- 
DragonFly BSD source repository


More information about the Commits mailing list