summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/atapi-cd.c
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2004-01-28 20:38:51 +0000
committersos <sos@FreeBSD.org>2004-01-28 20:38:51 +0000
commit3678d31f1762251640dd504e43143335331df1d0 (patch)
tree833f15df3b8efaf179e15bbcbea2cc190bd43c96 /sys/dev/ata/atapi-cd.c
parent45e377d906380622fc58dbee7caa00d93d2e80e8 (diff)
downloadFreeBSD-src-3678d31f1762251640dd504e43143335331df1d0.zip
FreeBSD-src-3678d31f1762251640dd504e43143335331df1d0.tar.gz
Use the biotask functionality in GEOM to put finished requests on
instead of taskqueue_swi. This shaves from 1 to 10% of the overhead. Overhaul the locking once more, there was a few possible races that are now closed.
Diffstat (limited to 'sys/dev/ata/atapi-cd.c')
-rw-r--r--sys/dev/ata/atapi-cd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-cd.c b/sys/dev/ata/atapi-cd.c
index 3896917..3886564 100644
--- a/sys/dev/ata/atapi-cd.c
+++ b/sys/dev/ata/atapi-cd.c
@@ -1153,7 +1153,7 @@ acd_start(struct ata_device *atadev)
request->timeout = (ccb[0] == ATAPI_WRITE_BIG) ? 60 : 30;
request->retries = 2;
request->callback = acd_done;
- request->flags = ATA_R_SKIPSTART | ATA_R_ATAPI;
+ request->flags = ATA_R_ATAPI;
if (request->device->mode >= ATA_DMA)
request->flags |= ATA_R_DMA;
switch (bp->bio_cmd) {
OpenPOWER on IntegriCloud