From 817988be19ab628d7aa94cbd8e108e282b8563e8 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 22 Feb 2002 09:14:06 +0000 Subject: [PATCH] Disksort will not "munge" requests, BIO_ORDERED or not, so remove use of BIO_ORDERED. --- sys/dev/fdc/fdc.c | 6 ++---- sys/isa/fd.c | 6 ++---- sys/pc98/cbus/fdc.c | 6 ++---- 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 ca6c88acef4..788a7808e14 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 ca6c88acef4..788a7808e14 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 7a05e162e3d..5e2b78cbcfe 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 7a05e162e3d..5e2b78cbcfe 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()