git: sbin/hammer: Enable readhammerbuf()

Tomohiro Kusumi tkusumi at
Fri Jul 10 10:42:03 PDT 2015

commit dc4ad89016afa192511e98434d473a59808a7297
Author: Tomohiro Kusumi <kusumi.tomohiro at>
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(-)

DragonFly BSD source repository

More information about the Commits mailing list