HAMMER VFS - REDO/fsync precursor work
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 10 Jan 2010 01:03:23 +0000 (17:03 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 10 Jan 2010 01:20:14 +0000 (17:20 -0800)
commit6048b4113f26008d927fa69ddd438dabc392ef1f
treecc9c75c65e0dee3181ca5d7d4ae796621e876b73
parentb5cc375b071cc3c49731093b9ba309481ffcb4a9
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.
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_disk.h
sys/vfs/hammer/hammer_flusher.c
sys/vfs/hammer/hammer_undo.c
sys/vfs/hammer/hammer_vfsops.c