projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bounce buffers. From John Dyson with help from me.
[unix-history]
/
sys
/
kern
/
vfs__bio.c
diff --git
a/sys/kern/vfs__bio.c
b/sys/kern/vfs__bio.c
index
f64230f
..
b26af6f
100644
(file)
--- a/
sys/kern/vfs__bio.c
+++ b/
sys/kern/vfs__bio.c
@@
-45,7
+45,7
@@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: vfs__bio.c,v 1.1
5 1994/01/31 05:57:45 davidg
Exp $
+ * $Id: vfs__bio.c,v 1.1
6 1994/03/19 22:19:11 wollman
Exp $
*/
#include "param.h"
*/
#include "param.h"
@@
-593,6
+593,10
@@
biowait(register struct buf *bp)
void
biodone(register struct buf *bp)
{
void
biodone(register struct buf *bp)
{
+#ifndef NOBOUNCE
+ if (bp->b_flags & B_BOUNCE)
+ vm_bounce_free(bp);
+#endif
bp->b_flags |= B_DONE;
if ((bp->b_flags & B_READ) == 0) {
bp->b_flags |= B_DONE;
if ((bp->b_flags & B_READ) == 0) {