sbin/hammer2: Simplify bitmap offset calculation in "freemap"
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 15 Aug 2019 15:10:10 +0000 (00:10 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 15 Aug 2019 15:38:20 +0000 (00:38 +0900)
commit43c0f951c5652ed2ef36ced60f223c0f0ff104f7
tree338acf4e36a453b17c1f8985d527f267b3e8d6ac
parent906f9d769083cf818b1d3387dd86d7e53bc099d9
sbin/hammer2: Simplify bitmap offset calculation in "freemap"

Eliminate a magic number 256 (4MB / 16KB).
Each hammer2_bmap_data in leaf covers 4MB (level 0) data store.
sbin/hammer2/cmd_debug.c