git: sys/vfs/hammer: Rename HAMMER_UNDO_LAYER2 to HAMMER_MAX_UNDO_BIGBLOCKS

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Oct 29 21:30:55 PDT 2016


commit f04399b19d77f4ca86090eda3cecdb8049d37e9a
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Oct 29 14:23:24 2016 +0900

    sys/vfs/hammer: Rename HAMMER_UNDO_LAYER2 to HAMMER_MAX_UNDO_BIGBLOCKS
    
    This macro has existed since 2008, but should be renamed to something
    like HAMMER_MAX_UNDO_BIGBLOCKS.
    
    Big-blocks for undo fifo are separated from big-blocks managed by
    layer1/2. In other words, layer1/2 entries do not point to undo fifo.
    Undo fifo is fixed size space pointed to directly from volume header,
    so the name makes more sense without LAYER2.

Summary of changes:
 sbin/hammer/ondisk.c             | 12 ++++++------
 sbin/newfs_hammer/newfs_hammer.c |  2 +-
 sys/vfs/hammer/hammer_disk.h     |  6 +++---
 3 files changed, 10 insertions(+), 10 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list