git: sbin/newfs_hammer2: Zero clear boot/aux area

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Aug 17 03:58:17 PDT 2019


commit 3f74652bebf1bb16ad398980a185a915da44b644
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Aug 17 05:28:17 2019 +0900

    sbin/newfs_hammer2: Zero clear boot/aux area
    
    Although currently unused, don't leave unrelated garbage.
    This increases runtime by 1 sec or so with default boot/aux size.
    
    Also drop redundant bzero() call against zero'd buffer.

Summary of changes:
 sbin/newfs_hammer2/newfs_hammer2.c | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3f74652bebf1bb16ad398980a185a915da44b644


-- 
DragonFly BSD source repository



More information about the Commits mailing list