summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-02-22 09:14:06 +0000
committerphk <phk@FreeBSD.org>2002-02-22 09:14:06 +0000
commit7d2feac7d3f2d24e6aa783bff897b21b508633e8 (patch)
tree2c06325339db482be7d75667215e088096219db2 /sys/pc98
parent62d248fb9eb6f0b6dc7d6c7832ef5206f47d0f34 (diff)
downloadFreeBSD-src-7d2feac7d3f2d24e6aa783bff897b21b508633e8.zip
FreeBSD-src-7d2feac7d3f2d24e6aa783bff897b21b508633e8.tar.gz
Disksort will not "munge" requests, BIO_ORDERED or not, so remove
use of BIO_ORDERED.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/fdc.c6
-rw-r--r--sys/pc98/pc98/fd.c6
2 files changed, 4 insertions, 8 deletions
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c
index 7a05e16..5e2b78c 100644
--- a/sys/pc98/cbus/fdc.c
+++ b/sys/pc98/cbus/fdc.c
@@ -3082,9 +3082,7 @@ fdmisccmd(dev_t dev, u_int cmd, void *data)
/*
* Set up a bio request for fdstrategy(). bio_blkno is faked
* so that fdstrategy() will seek to the the requested
- * cylinder, and use the desired head. Since we are not
- * interested in bioqdisksort() munging with our faked bio
- * request, we mark it as being an ordered request.
+ * cylinder, and use the desired head.
*/
bp->bio_cmd = cmd;
if (cmd == BIO_FORMAT) {
@@ -3105,7 +3103,7 @@ fdmisccmd(dev_t dev, u_int cmd, void *data)
bp->bio_data = data;
bp->bio_dev = dev;
bp->bio_done = fdbiodone;
- bp->bio_flags = BIO_ORDERED;
+ bp->bio_flags = 0;
/*
* Now run the command. The wait loop is a version of bufwait()
diff --git a/sys/pc98/pc98/fd.c b/sys/pc98/pc98/fd.c
index 7a05e16..5e2b78c 100644
--- a/sys/pc98/pc98/fd.c
+++ b/sys/pc98/pc98/fd.c
@@ -3082,9 +3082,7 @@ fdmisccmd(dev_t dev, u_int cmd, void *data)
/*
* Set up a bio request for fdstrategy(). bio_blkno is faked
* so that fdstrategy() will seek to the the requested
- * cylinder, and use the desired head. Since we are not
- * interested in bioqdisksort() munging with our faked bio
- * request, we mark it as being an ordered request.
+ * cylinder, and use the desired head.
*/
bp->bio_cmd = cmd;
if (cmd == BIO_FORMAT) {
@@ -3105,7 +3103,7 @@ fdmisccmd(dev_t dev, u_int cmd, void *data)
bp->bio_data = data;
bp->bio_dev = dev;
bp->bio_done = fdbiodone;
- bp->bio_flags = BIO_ORDERED;
+ bp->bio_flags = 0;
/*
* Now run the command. The wait loop is a version of bufwait()
OpenPOWER on IntegriCloud