cvs commit: src/sys/vfs/hammer hammer.h hammer_flusher.c hammer_inode.c hammer_io.c hammer_object.c hammer_ondisk.c hammer_recover.c hammer_undo.c hammer_vfsops.c hammer_vnops.c

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Apr 25 19:57:38 PDT 2008


dillon      2008/04/25 19:54:01 PDT

DragonFly src repository

  Modified files:
    sys/vfs/hammer       hammer.h hammer_flusher.c hammer_inode.c 
                         hammer_io.c hammer_object.c 
                         hammer_ondisk.c hammer_recover.c 
                         hammer_undo.c hammer_vfsops.c 
                         hammer_vnops.c 
  Log:
  HAMMER 38D/Many: Undo/Synchronization and crash recovery
  
  * The flusher now waits for I/O to complete at the appropriate points.
  
  * Implement instant crash recovery.  The UNDO FIFO is scanned backwards
    and reapplied to the filesystem on mount.  There is still more work
    to do here, inode<->inode associations (e.g. directory entry vs file)
    are not yet bound together.
  
  * Clean up I/O sequencing a lot and get rid of a ton of unnecessary flusher
    wakeups.
  
  Revision  Changes    Path
  1.50      +8 -1      src/sys/vfs/hammer/hammer.h
  1.4       +33 -19    src/sys/vfs/hammer/hammer_flusher.c
  1.38      +82 -49    src/sys/vfs/hammer/hammer_inode.c
  1.27      +15 -2     src/sys/vfs/hammer/hammer_io.c
  1.43      +0 -3      src/sys/vfs/hammer/hammer_object.c
  1.39      +20 -3     src/sys/vfs/hammer/hammer_ondisk.c
  1.10      +227 -667  src/sys/vfs/hammer/hammer_recover.c
  1.6       +15 -8     src/sys/vfs/hammer/hammer_undo.c
  1.28      +15 -2     src/sys/vfs/hammer/hammer_vfsops.c
  1.40      +3 -2      src/sys/vfs/hammer/hammer_vnops.c


http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer.h.diff?r1=1.49&r2=1.50&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_flusher.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_inode.c.diff?r1=1.37&r2=1.38&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_io.c.diff?r1=1.26&r2=1.27&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_object.c.diff?r1=1.42&r2=1.43&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_ondisk.c.diff?r1=1.38&r2=1.39&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_recover.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_undo.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_vfsops.c.diff?r1=1.27&r2=1.28&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_vnops.c.diff?r1=1.39&r2=1.40&f=u





More information about the Commits mailing list