看板 DFBSD_commit 關於我們 聯絡資訊
commit 6048b4113f26008d927fa69ddd438dabc392ef1f Author: Matthew Dillon <dillon@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