git: hammer2 hammer2 - More indirect block work & test script work

Matthew Dillon dillon at
Mon Feb 27 15:34:32 PST 2012

commit 5b4a213242853d1a25a323f9771e3a62fadf52c3
Author: Matthew Dillon <dillon at>
Date:   Mon Feb 27 15:31:37 2012 -0800

    hammer2 - More indirect block work & test script work
    * Correct strategy read and bmap offset calculations to allow for arbitrary
      differences between logical and physical block sizes.  This fixes data
      read-back issues past the first 16K of data.
    * Correct a panic related to the use of an unlocked chain in the lookup
      code when indirect blocks have to be recursed through.
    * Add vop_getpages/vop_putpages -> stdgetpages/stdputpages.
    * Minor reordering for correctness.
    * Adjust test scripts to be a bit smarter, adjust debugging kprintf()s

Summary of changes:
 sys/vfs/hammer2/dotest          |    9 +++++-
 sys/vfs/hammer2/hammer2_chain.c |   52 ++++++++++++++++++++++----------------
 sys/vfs/hammer2/hammer2_vnops.c |   34 ++++++++++++++-----------
 3 files changed, 56 insertions(+), 39 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list