git: hammer2 - Fix snapshots and multi-label mounts

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Aug 19 12:15:16 PDT 2017


commit 59eb00662b48f700a961ebe4a6fb572d8e4225f0
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Aug 19 12:10:09 2017 -0700

    hammer2 - Fix snapshots and multi-label mounts
    
    * Allow the same /dev/blah at DIFFERENTLABEL to be specified in a mount
      command, so multiple labels from the same device can be mounted.
    
    * Devfs can throw different vnodes for the same device.  When matching
      up hammer2_dev, check devvp->v_rdev for a match as well.
    
    * Fix a number of bugs in the snapshot code that left a hammer2_inode
      structure hanging and caused a panic.
    
    * Fix races in admin thread flag messaging that could lead to 60-second
      delays during umount.

Summary of changes:
 sys/vfs/hammer2/hammer2_chain.c   | 18 +++++++++++++-----
 sys/vfs/hammer2/hammer2_ioctl.c   | 31 +++++++++++++++++++++----------
 sys/vfs/hammer2/hammer2_synchro.c | 13 ++++---------
 sys/vfs/hammer2/hammer2_vfsops.c  | 26 ++++++++++++++++++++++----
 4 files changed, 60 insertions(+), 28 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/59eb00662b48f700a961ebe4a6fb572d8e4225f0


-- 
DragonFly BSD source repository



More information about the Commits mailing list