cvs commit: src/sys/kern vfs_journal.c src/sys/sys journal.h mountctl.h

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Aug 24 13:29:38 PDT 2005


dillon      2005/08/24 13:28:33 PDT

DragonFly src repository

  Modified files:
    sys/kern             vfs_journal.c 
    sys/sys              journal.h mountctl.h 
  Log:
  Filesystem journaling.  Reorganize the journal scan for the mountpoint to
  allow portions of the journal transaction to be written prior to the VOP
  operation being executed, and accomodate transactional aborts if the VOP
  fails.   Previously the journal records had to be written only after the VOP
  succeeded.
  
  Implement UNDO records, including writing out file data that is about to
  be overwritten and the mtime prior to a write, rename, or remove.  UNDO
  records allow us to create a reversable journal, where we can wind a mirror
  forwards or backwards simply by scanning the journal forwards or backwards.
  
  Revision  Changes    Path
  1.19      +423 -179  src/sys/kern/vfs_journal.c
  1.7       +1 -0      src/sys/sys/journal.h
  1.10      +11 -0     src/sys/sys/mountctl.h


http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_journal.c.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/journal.h.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/mountctl.h.diff?r1=1.9&r2=1.10&f=u





More information about the Commits mailing list