cvs commit: src/sys/vfs/hammer hammer.h hammer_inode.c hammer_mount.h hammer_ondisk.c hammer_recover.c hammer_vfsops.c

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jun 3 11:47:35 PDT 2008


dillon      2008/06/03 11:47:25 PDT

DragonFly src repository

  Modified files:
    sys/vfs/hammer       hammer.h hammer_inode.c hammer_mount.h 
                         hammer_ondisk.c hammer_recover.c 
                         hammer_vfsops.c 
  Log:
  HAMMER 52/Many: Read-only mounts and mount upgrades/downgrades.
  
  * Finish implementing MNT_UPDATE, allowing a HAMMER mount to be upgraded
    or downgraded.
  
  * Adjust the recovery code to not flush buffers dirtied by recovery
    operations (running the UNDOs) when the mount is read-only.  The
    buffers will be flushed when the mount is updated to read-write.
  
  * Improve recovery performance by not flushing dirty buffers until the
    end (if a read-write mount).
  
  * A crash which occurs during recovery might cause the next recovery to
    fail.  Delay writing out the recovered volume header until all the other
    buffers have been written out to fix the problem.
  
  Revision  Changes    Path
  1.73      +7 -0      src/sys/vfs/hammer/hammer.h
  1.64      +18 -0     src/sys/vfs/hammer/hammer_inode.c
  1.5       +2 -0      src/sys/vfs/hammer/hammer_mount.h
  1.49      +23 -0     src/sys/vfs/hammer/hammer_ondisk.c
  1.19      +92 -10    src/sys/vfs/hammer/hammer_recover.c
  1.38      +39 -15    src/sys/vfs/hammer/hammer_vfsops.c


http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer.h.diff?r1=1.72&r2=1.73&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_inode.c.diff?r1=1.63&r2=1.64&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_mount.h.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_ondisk.c.diff?r1=1.48&r2=1.49&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_recover.c.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_vfsops.c.diff?r1=1.37&r2=1.38&f=u





More information about the Commits mailing list