hammer - HAMMER Version 7

Operating Systems / DragonFlyBSD - Matthew Dillon [apollo.backplane.com] - 27 March 2017 02:43 EDT

- 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).

4c09d9c hammer - HAMMER Version 7
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(-)

Upstream: gitweb.dragonflybsd.org


  • Share