diff options
author | phk <phk@FreeBSD.org> | 2002-02-22 09:14:06 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-02-22 09:14:06 +0000 |
commit | 7d2feac7d3f2d24e6aa783bff897b21b508633e8 (patch) | |
tree | 2c06325339db482be7d75667215e088096219db2 /sys | |
parent | 62d248fb9eb6f0b6dc7d6c7832ef5206f47d0f34 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/dev/fdc/fdc.c | 6 | ||||
-rw-r--r-- | sys/isa/fd.c | 6 | ||||
-rw-r--r-- | sys/pc98/cbus/fdc.c | 6 | ||||
-rw-r--r-- | sys/pc98/pc98/fd.c | 6 |
4 files changed, 8 insertions, 16 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index ca6c88a..788a780 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -2541,9 +2541,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) { @@ -2564,7 +2562,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/isa/fd.c b/sys/isa/fd.c index ca6c88a..788a780 100644 --- a/sys/isa/fd.c +++ b/sys/isa/fd.c @@ -2541,9 +2541,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) { @@ -2564,7 +2562,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/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() |