git: sys/vfs/hammer: Add HAMMER_HBUFSIZE

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Thu Sep 24 07:46:32 PDT 2015


commit 72f2cb8303919ea1e066ee503b2e853de85509c9
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sun Sep 6 19:58:47 2015 +0900

    sys/vfs/hammer: Add HAMMER_HBUFSIZE
    
    Add HAMMER_HBUFSIZE which is 1/2 of HAMMER_BUFSIZE.
    
    8KB (HAMMER_BUFSIZE / 2) is somewhat important number as
    vfs opses use this value to round up a size to allocate
    within blockmap address space.

Summary of changes:
 sys/vfs/hammer/hammer_disk.h   | 1 +
 sys/vfs/hammer/hammer_ondisk.c | 2 +-
 sys/vfs/hammer/hammer_vnops.c  | 4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/72f2cb8303919ea1e066ee503b2e853de85509c9


-- 
DragonFly BSD source repository



More information about the Commits mailing list