Journaling layer work. Write the actual data associated with a VOP_WRITE
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 4 Mar 2005 05:25:26 +0000 (05:25 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 4 Mar 2005 05:25:26 +0000 (05:25 +0000)
commit9578bde0f0ee0f9d73c808d675b55dc0e2dac3a0
treece2a90b818688a8185193ec3c625942611c88f44
parent1588fa1f1b8c26dacb227104a11e7ec6929cdfbf
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.
sys/kern/vfs_jops.c
sys/kern/vfs_journal.c