git: HAMMER VFS - REDO/fsync precursor work

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 11 20:58:42 PST 2010


commit 6048b4113f26008d927fa69ddd438dabc392ef1f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Jan 9 17:03:23 2010 -0800

    HAMMER VFS - REDO/fsync precursor work
    
    * Adjust hammer_fifo_redo structure (not yet used), add a mtime
      field so the mtime can be restored from the REDO records.
    
    * Move the undo buffer flush code into its own procedure,
      hammer_flusher_flush_undos().
    
    * Implement hammer_generate_redo() to generate file write operation
      REDOs.
    
    * Implement sysctls statistics and limits for redo, vfs.hammer.limit_redo
      and vfs.hammer.stats_redo.

Summary of changes:
 sys/vfs/hammer/hammer.h         |    5 +-
 sys/vfs/hammer/hammer_disk.h    |    1 +
 sys/vfs/hammer/hammer_flusher.c |   53 +++++++----
 sys/vfs/hammer/hammer_undo.c    |  188 +++++++++++++++++++++++++++++++++++++-
 sys/vfs/hammer/hammer_vfsops.c  |    6 ++
 5 files changed, 227 insertions(+), 26 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6048b4113f26008d927fa69ddd438dabc392ef1f


-- 
DragonFly BSD source repository





More information about the Commits mailing list