commit 4af7f53747c5cfc504b9ec89242b7a195fbfb933 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Thu Aug 20 23:46:56 2015 +0900
sys/vfs/hammer: Adjust hammer_debug_general Change hammer_debug_general in hammer_blockmap_getfree() to 0x4000 which is the same value as those in sys/vfs/hammer/hammer_reblock.c. This is better since hammer_blockmap_getfree() is made for reblock and only used by reblock (0x0800 picks up other debug kprintfs that aren't related to reblock). Also note that hammer_debug_general values are randomly picked based on use cases rather than fixed value for each file/etc. Add some comments on the conditionals that are used to start data/node reblock since this part is not too easy to understand. Summary of changes: sys/vfs/hammer/hammer_blockmap.c | 8 ++++++-- sys/vfs/hammer/hammer_reblock.c | 18 ++++++++++++++++++ sys/vfs/hammer/hammer_volume.c | 4 ++-- 3 files changed, 26 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4af7f53747c5cfc504b9ec89242b7a195fbfb933 -- DragonFly BSD source repository