sys/vfs/hammer: Add hammer_data_zone(_index) macros
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 6 Sep 2015 13:59:27 +0000 (22:59 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 24 Sep 2015 14:09:50 +0000 (23:09 +0900)
commit22c06dfef90f0611f9cbd825002774b8f1041962
treea360a96f19272b42e5514ef5d69ef2d1d4bbbd2d
parent97358992e1db75a4e2989baafd87c0fb76ad2a31
sys/vfs/hammer: Add hammer_data_zone(_index) macros

since now that all hammer code selects data zone to
allocate blockmap space based on the following basic
rule without an exception (that is actually the same).

zone = (data_len >= 16KB ? LARGE_DATA : SMALL_DATA);
sbin/hammer/cmd_blockmap.c
sbin/hammer/ondisk.c
sys/vfs/hammer/hammer_disk.h
sys/vfs/hammer/hammer_object.c
sys/vfs/hammer/hammer_ondisk.c