git: sbin/mount_hammer: Simplify ondisk verification

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Thu Nov 3 08:48:18 PDT 2016


commit 920e34fae0e0b04c5f16eb0e9ebf62d0ad3c2491
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Thu Nov 3 22:37:06 2016 +0900

    sbin/mount_hammer: Simplify ondisk verification
    
    Unlike sbin/hammer or sbin/newfs_hammer, sbin/mount_hammer
    has no restriction regarding I/O size since it's readonly.
    It doesn't have to be 16KB as long as I/O size meets the
    requirement of read(2) over a raw block device.

Summary of changes:
 sbin/mount_hammer/mount_hammer.c | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/920e34fae0e0b04c5f16eb0e9ebf62d0ad3c2491


-- 
DragonFly BSD source repository



More information about the Commits mailing list