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

Devon H. O'Dell dodell at offmyserver.com
Wed Aug 24 13:33:05 PDT 2005


On Wed, Aug 24, 2005 at 01:28:33PM -0700, Matthew Dillon wrote:
> 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.

Nice. Very nice.
   
>   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