git: hammer2 - Make the CRC check code programmable

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Aug 5 00:07:17 PDT 2014


commit e07becf8c811c73a9cb63f8e337acd4bbfb57df7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Aug 4 23:58:14 2014 -0700

    hammer2 - Make the CRC check code programmable
    
    * Add infrastructure to allow a CRC check code method request to be stored
      in an inode.  The method will be inherited by anything created under the
      inode.
    
    * Refactor the check_algo and comp_algo encoding to make the distinction
      between the requests in ipdata fields and the actual specification stored
      in bref.methods.
    
    * Make sure that the hidden directory inherits the iroot's algorithm
      specifications for consistency.

Summary of changes:
 sys/vfs/hammer2/FREEMAP           |  7 ++++---
 sys/vfs/hammer2/TODO              |  5 +++++
 sys/vfs/hammer2/hammer2.h         |  2 ++
 sys/vfs/hammer2/hammer2_chain.c   |  5 +++++
 sys/vfs/hammer2/hammer2_cluster.c | 18 ++++++++++++++++
 sys/vfs/hammer2/hammer2_disk.h    | 33 ++++++++++++++++++++++-------
 sys/vfs/hammer2/hammer2_inode.c   | 30 +++++++++++++++++++++++---
 sys/vfs/hammer2/hammer2_ioctl.c   | 11 +++++++++-
 sys/vfs/hammer2/hammer2_vfsops.c  | 44 ++++++++++++++++++++-------------------
 9 files changed, 119 insertions(+), 36 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e07becf8c811c73a9cb63f8e337acd4bbfb57df7


-- 
DragonFly BSD source repository



More information about the Commits mailing list