git: hammer2 hammer2 - cleanup, kldload, mount, iget/ifree and other stuff.

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Feb 9 19:30:31 PST 2012


commit 54eb943bf11899aee5aa68e71ab7e8911517e72f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Feb 9 19:28:11 2012 -0800

    hammer2 - cleanup, kldload, mount, iget/ifree and other stuff.
    
    * Make kldload and kldunload run cleanly
    
    * Make mount/umount run cleanly.  Properly deallocate the root inode and
      close the underlying device.
    
    * Write iget/ifree and properly deal with deadlocks between reclaim and
      iget.
    
    * Remove the hm_ prefix for the hammer2_mount structure.
    
    * Use 'hammer2_xxx_t' instead of 'struct hammer2_xxx' in many cases.
    
    * Other general cleanups.

Summary of changes:
 sys/vfs/hammer2/dotest           |    6 ++
 sys/vfs/hammer2/hammer2.h        |   66 ++++++++-------
 sys/vfs/hammer2/hammer2_subr.c   |  168 +++++++++++++++++++++++++-------------
 sys/vfs/hammer2/hammer2_vfsops.c |  149 ++++++++++++++++------------------
 sys/vfs/hammer2/hammer2_vnops.c  |   14 ++-
 sys/vfs/hammer2/mkvntest         |   10 ++
 6 files changed, 240 insertions(+), 173 deletions(-)
 create mode 100755 sys/vfs/hammer2/dotest
 create mode 100755 sys/vfs/hammer2/mkvntest

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/54eb943bf11899aee5aa68e71ab7e8911517e72f


-- 
DragonFly BSD source repository





More information about the Commits mailing list