git: hammer: fix terminology of "large block"

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Sat Feb 7 03:45:43 PST 2015


commit e04ee2deffe511013c324e593719d66829589284
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sun Feb 1 06:35:10 2015 +0900

    hammer: fix terminology of "large block"
    
    This cleanup patch changes terminology "large block" to "big block".
    
    - Both "large block" and "big block" are widely used in hammer source from
    kernel to userspace, however these two refer to the same data structure which
    is a 8MB sized chunk within low level blockmapped storage layer.
    
    - The original design document https://www.dragonflybsd.org/hammer/hammer.pdf
    uses big block for this data structure. Having two expressions in its
    implementation is confusing and makes grep difficult.
    
    Closes: #2782

Summary of changes:
 sbin/hammer/blockmap.c           |   6 +-
 sbin/hammer/cmd_blockmap.c       |  18 +++---
 sbin/hammer/cmd_info.c           |   8 +--
 sbin/hammer/cmd_reblock.c        |   4 +-
 sbin/hammer/cmd_show.c           |   6 +-
 sbin/hammer/ondisk.c             |  42 +++++++-------
 sbin/newfs_hammer/newfs_hammer.c |   8 +--
 sys/vfs/hammer/hammer_blockmap.c | 120 +++++++++++++++++++--------------------
 sys/vfs/hammer/hammer_dedup.c    |   2 +-
 sys/vfs/hammer/hammer_disk.h     |  50 ++++++++--------
 sys/vfs/hammer/hammer_ioctl.c    |   2 +-
 sys/vfs/hammer/hammer_ondisk.c   |  10 ++--
 sys/vfs/hammer/hammer_reblock.c  |   6 +-
 sys/vfs/hammer/hammer_undo.c     |   4 +-
 sys/vfs/hammer/hammer_vfsops.c   |   4 +-
 sys/vfs/hammer/hammer_volume.c   |  22 +++----
 16 files changed, 156 insertions(+), 156 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list