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

git: hammer2 - Start working on the freemap (note: freemap not yet operational)


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 29 Jan 2013 23:33:47 -0800 (PST)

commit 9061bde5ad5e46bcaee746ed03d598a75b38691f
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Tue Jan 29 23:27:01 2013 -0800

    hammer2 - Start working on the freemap (note: freemap not yet operational)
    
    * hammer2 show now tries to dump all four volume headers
    
    * Minimum storage allocation chunk size is 1K, increase MIN_RADIX and
      MIN_ALLOC appropriately.
    
    * Preliminary reserved block mappings for the freemap indirect and bitmap
      blocks.
    
    * Preliminary freemap design will use normal indirect blocks (but with
      a different bref.type name).  The check area of the bref will be used to
      store additional freemap hints.
    
      The volume header will contain a blockref to the root of the freemap,
      and newfs_hammer2 now initializes this blockref.
    
    * Bring major hammer2_disk.h media structure comments up to snuff.
    
    * Formalize blockref.methods and set proper defaults.  This field contains
      the crc/check and compression methods for a blockref.

Summary of changes:
 sbin/hammer2/cmd_debug.c           |  11 +-
 sbin/newfs_hammer2/newfs_hammer2.c |  69 ++++++-
 sys/vfs/hammer2/hammer2.h          |  10 +-
 sys/vfs/hammer2/hammer2_chain.c    |  90 +++++++--
 sys/vfs/hammer2/hammer2_disk.h     | 368 +++++++++++++++++++++++++++----------
 sys/vfs/hammer2/hammer2_flush.c    |   2 +
 sys/vfs/hammer2/hammer2_freemap.c  |   2 +-
 sys/vfs/hammer2/hammer2_subr.c     |  10 +-
 sys/vfs/hammer2/hammer2_vfsops.c   |   4 +-
 sys/vfs/hammer2/hammer2_vnops.c    |   6 +-
 10 files changed, 447 insertions(+), 125 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9061bde5ad5e46bcaee746ed03d598a75b38691f


-- 
DragonFly BSD source repository



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