git: sbin/hammer: Remove unused buffer 'type' in cache

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Mar 27 10:07:45 PDT 2016


commit 19c60b7c18cf76de53a5aea35c0800a627f7d342
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Wed Mar 23 04:33:32 2016 +0900

    sbin/hammer: Remove unused buffer 'type' in cache
    
    HAMMER userspace cache is only used by general ondisk buffer.
    Ondisk volume header doesn't use the cache structure.
    Each program always has to explicitly flush ondisk volume header.
    
    This commit removes buffer 'type' from cache structure since
    'type' is always general ondisk buffer (non-volume buffer).

Summary of changes:
 sbin/hammer/cache.c       | 18 ++----------------
 sbin/hammer/hammer_util.h | 10 +++-------
 sbin/hammer/ondisk.c      |  4 ++--
 3 files changed, 7 insertions(+), 25 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/19c60b7c18cf76de53a5aea35c0800a627f7d342


-- 
DragonFly BSD source repository



More information about the Commits mailing list