cvs commit: src/sys/kern vfs_journal.c

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Mar 3 21:26:07 PST 2005


dillon      2005/03/03 21:25:26 PST

DragonFly src repository

  Modified files:
    sys/kern             vfs_journal.c 
  Log:
  Journaling layer work.  Write the actual data associated with a VOP_WRITE
  to the journal.  Fix a number of bugs in the journal memory FIFO code.
  
  This commit has a slight UIO hack.  Because UIOs are currently destroyed by
  I/O operations on them (the iovec's get cleared), we had to make a copy of
  the uio for the journaling scan.
  
  Note that the UIO scan currently maps the data into KVA via msf_uio_iterate().
  This will be made more optimal when the I/O path is fixed at some future
  date to support direct page lists.
  
  Revision  Changes    Path
  1.8       +109 -18   src/sys/kern/vfs_journal.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_journal.c.diff?r1=1.7&r2=1.8&f=u





More information about the Commits mailing list