DragonFly BSD
DragonFly commits List (threaded) for 2012-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: hammer2 hammer2 - Support multiple PFS mounts from the same device


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 5 Apr 2012 23:44:06 -0700 (PDT)

commit e4e20f48d0de2779394eedc51e96f5c21b2bde32
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Thu Apr 5 23:40:03 2012 -0700

    hammer2 - Support multiple PFS mounts from the same device
    
    * Implement hammer2_pfsmount_t and move hmp->rchain, hmp->iroot, and
      a few other fields into the new structure.
    
      struct mount -> struct hammer2_pfsmount (pmp) -> struct hammer2_mount (hmp).
    
    * Implement mount/umount logic to allow the device to be overloaded.
      Multiple PFS labels associated with the same media may now be mounted.
    
    * Generate a unique pfs_fsid for each PFS created, the {pfs_fsid, pfs_id}
      tuple forms a unique key that the userland helper will use to distinguish
      registrations.

Summary of changes:
 sys/vfs/hammer2/hammer2.h        |   56 +++++---
 sys/vfs/hammer2/hammer2_chain.c  |    8 +-
 sys/vfs/hammer2/hammer2_inode.c  |   15 +-
 sys/vfs/hammer2/hammer2_ioctl.c  |    4 +-
 sys/vfs/hammer2/hammer2_vfsops.c |  280 ++++++++++++++++++++++++--------------
 sys/vfs/hammer2/hammer2_vnops.c  |   26 ++--
 6 files changed, 239 insertions(+), 150 deletions(-)

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


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]