git: HAMMER VFS - Change default from version 3 to version 4

看板DFBSD_commit作者時間16年前 (2009/12/06 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit fd74884e5f97b1cbfca7c582336d7fbbbdf07644 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sat Dec 5 09:20:27 2009 -0800 HAMMER VFS - Change default from version 3 to version 4 * Version 4 is now the default for newfs_hammer and is no longer considered a work in progress. * Filesystems may be upgraded to version 4 in-place. The UNDO FIFO (typically 1G) is reformatted so the upgrade might take a minute or two depending. * Version 4 allows the UNDO FIFO to be flushed without also having to flush the volume header, removing 2 of the 4 disk syncs typically required for an fsync() and removing 1 of the 2 disk syncs typically required for a flush sequence. This is accomplished by adding a sequence number of the UNDO entries in the FIFO and preventing them from crossing a 512-byte boundary, so each 512-byte block starts with an entry. HAMMER's mount code is then able to scan the UNDO FIFO to determine the start and end for recovery purposes. * Version 4 implements the infrastructure needed for REDO, but does not implement any REDO operations. Summary of changes: sys/vfs/hammer/hammer_disk.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fd74884e5f97b1cbfca7c582336d7fbbbdf07644 -- DragonFly BSD source repository
文章代碼(AID): #1B6f_fty (DFBSD_commit)