git: sbin/hammer: Enable readhammerbuf()

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Fri Jul 10 10:42:03 PDT 2015


commit dc4ad89016afa192511e98434d473a59808a7297
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Thu Jul 9 23:10:40 2015 +0900

    sbin/hammer: Enable readhammerbuf()
    
    - Bring back #if0'd function readhammerbuf() which is a wrapper
      for pread(2) for 16KB buffer.
    
    - (writehammerbuf() has been used since the early days)

Summary of changes:
 sbin/hammer/ondisk.c | 21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dc4ad89016afa192511e98434d473a59808a7297


-- 
DragonFly BSD source repository



More information about the Commits mailing list