git: HAMMER VFS - REDO/fsync precursor work

看板DFBSD_commit作者時間16年前 (2010/01/12 13:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1BJ08J45 (DFBSD_commit)