diff options
author | gibbs <gibbs@FreeBSD.org> | 1998-09-15 10:05:18 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1998-09-15 10:05:18 +0000 |
commit | 0a7eb834b75745fb718b3e3748521ff5b039c411 (patch) | |
tree | f3084be130981b5811da38d6a38ad7dce62b1514 /sys/kern/vfs_bio.c | |
parent | b77e1d03d4e9cb3e2bf01c04a6a82da774180c8c (diff) | |
download | FreeBSD-src-0a7eb834b75745fb718b3e3748521ff5b039c411.zip FreeBSD-src-0a7eb834b75745fb718b3e3748521ff5b039c411.tar.gz |
kern_clock.c:
Remove old disk statistics variables.
vfs_bio.c:
Enable bowrite now that B_ORDERED works for all buffer devices.
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r-- | sys/kern/vfs_bio.c | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 6db20aa2..a307832 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -11,7 +11,7 @@ * 2. Absolutely no warranty of function or purpose is made by the author * John S. Dyson. * - * $Id: vfs_bio.c,v 1.174 1998/09/04 08:06:55 dfr Exp $ + * $Id: vfs_bio.c,v 1.175 1998/09/05 14:13:06 phk Exp $ */ /* @@ -545,21 +545,14 @@ bawrite(struct buf * bp) /* * Ordered write. - * Start output on a buffer, but only wait for it to complete if the - * output device cannot guarantee ordering in some other way. Devices - * that can perform asynchronous ordered writes will set the B_ASYNC - * flag in their strategy routine. - * The buffer is released when the output completes. + * Start output on a buffer, and flag it so that the device will write + * it in the order it was queued. The buffer is released when the output + * completes. */ int bowrite(struct buf * bp) { - /* - * XXX Add in B_ASYNC once the SCSI - * layer can deal with ordered - * writes properly. - */ - bp->b_flags |= B_ORDERED; + bp->b_flags |= B_ORDERED|B_ASYNC; return (VOP_BWRITE(bp)); } |