DragonFly BSD
DragonFly commits List (threaded) for 2012-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: hammer2 hammer2 - Bug fixes in allocator and chain_next, rename


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 22 Mar 2012 00:18:35 -0700 (PDT)

commit 8e12e3c905580716a7a87e739f4a364678ad2e83
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Thu Mar 22 00:12:43 2012 -0700

    hammer2 - Bug fixes in allocator and chain_next, rename
    
    * The addition of a larger segment to allocate blocks out of caused
      the allocator to mishandle 64K requests, resulting in non-optimal
      I/O performance.
    
    * Fix a bug in hammer2_chain_next() which was causing truncations to
      crash.
    
    * Rename operations would sometimes not recursively mark the chain
      MODIFIED1 or would not mark the updated inode MOVED, causing
      data loss.
    
    * Replace HAMMER2_CHAIN_WAS_MODIFIED with a local variable.

Summary of changes:
 sys/vfs/hammer2/hammer2.h         |    4 +-
 sys/vfs/hammer2/hammer2_chain.c   |   46 +++++++++++++++++++++++-------------
 sys/vfs/hammer2/hammer2_freemap.c |    2 +-
 sys/vfs/hammer2/hammer2_vnops.c   |    9 ++++++-
 4 files changed, 40 insertions(+), 21 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8e12e3c905580716a7a87e739f4a364678ad2e83


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]