sys/vfs/hammer: Adjust hammer_debug_general
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 20 Aug 2015 14:46:56 +0000 (23:46 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 22 Aug 2015 15:48:30 +0000 (00:48 +0900)
commit4af7f53747c5cfc504b9ec89242b7a195fbfb933
treee607ec18ef2d38c20d0884a99e5f64fa348839e6
parent86872a2a3e27f05d25085218854f44daa64b6171
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.
sys/vfs/hammer/hammer_blockmap.c
sys/vfs/hammer/hammer_reblock.c
sys/vfs/hammer/hammer_volume.c