git: hammer - HAMMER Version 7

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Mar 26 23:43:16 PDT 2017


commit 4c09d9c4fd910651904ede280ad90a4abf3fc5d7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Mar 17 14:06:24 2017 -0700

    hammer - HAMMER Version 7
    
    * Add support for version 7 which changes the CRC mechanic from the
      old slow CRC code to the faster ISCSI CRC code.  We don't use the CRC
      instruction yet but ths base ISCSI CRC from FreeBSD is 6x faster than
      the CRC code we were using before.
    
    * Change newfs_hammer default to version 7 (for master).

Summary of changes:
 sbin/hammer/blockmap.c           |   8 +--
 sbin/hammer/cmd_blockmap.c       |   6 +-
 sbin/hammer/cmd_cleanup.c        |   1 +
 sbin/hammer/cmd_config.c         |   2 +
 sbin/hammer/cmd_mirror.c         |   2 +-
 sbin/hammer/cmd_pfs.c            |   1 +
 sbin/hammer/cmd_recover.c        |  16 +++--
 sbin/hammer/cmd_show.c           |  78 ++++++++++++++++++---
 sbin/hammer/cmd_snapshot.c       |   3 +
 sbin/hammer/cmd_softprune.c      |   1 +
 sbin/hammer/cmd_strip.c          |   2 +-
 sbin/hammer/cmd_version.c        |   3 +
 sbin/hammer/hammer.8             |  11 +++
 sbin/hammer/hammer.c             |   4 +-
 sbin/hammer/hammer_util.h        |   1 +
 sbin/hammer/ondisk.c             |  21 +++---
 sbin/newfs_hammer/newfs_hammer.c |   9 ++-
 sys/vfs/hammer/hammer.h          |   2 +-
 sys/vfs/hammer/hammer_blockmap.c |  78 ++++++++++-----------
 sys/vfs/hammer/hammer_btree.c    |   2 +-
 sys/vfs/hammer/hammer_crc.h      | 144 +++++++++++++++++++++++++++------------
 sys/vfs/hammer/hammer_disk.h     |   7 +-
 sys/vfs/hammer/hammer_flusher.c  |  10 +--
 sys/vfs/hammer/hammer_io.c       |  22 +++++-
 sys/vfs/hammer/hammer_ioctl.c    |   4 ++
 sys/vfs/hammer/hammer_object.c   |  19 +++---
 sys/vfs/hammer/hammer_ondisk.c   |   3 +-
 sys/vfs/hammer/hammer_reblock.c  |   8 +++
 sys/vfs/hammer/hammer_recover.c  |  35 +++++-----
 sys/vfs/hammer/hammer_redo.c     |   5 +-
 sys/vfs/hammer/hammer_undo.c     |  11 +--
 sys/vfs/hammer/hammer_volume.c   |  10 +--
 32 files changed, 353 insertions(+), 176 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4c09d9c4fd910651904ede280ad90a4abf3fc5d7


-- 
DragonFly BSD source repository


More information about the Commits mailing list