git: sbin/hammer: Split alloc_bigblock() into two functions [1/2]
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Mon Nov 7 05:06:29 PST 2016
commit 30e8ae555bb8ee5396b75c96cfc8a9e69265aee6
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Sun Nov 6 22:51:09 2016 +0900
sbin/hammer: Split alloc_bigblock() into two functions [1/2]
For zone-4, all you can (need to) do is increment offset by 8MB,
so split alloc_bigblock() into bootstrap_bigblock() for zone-4 and
alloc_bigblock() for zone-3. It's easier to understand this way.
Summary of changes:
sbin/hammer/blockmap.c | 77 ++++++++++++++++++++++++++---------------------
sbin/hammer/hammer_util.h | 1 +
sbin/hammer/ondisk.c | 5 ++-
3 files changed, 45 insertions(+), 38 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/30e8ae555bb8ee5396b75c96cfc8a9e69265aee6
--
DragonFly BSD source repository
More information about the Commits
mailing list