diff options
author | msmith <msmith@FreeBSD.org> | 1999-10-26 23:18:57 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1999-10-26 23:18:57 +0000 |
commit | 792afbe803fb8075c0d74c67a994d33a5eac6cc7 (patch) | |
tree | 2ccfac32c9a0db01822c9d5a99d04e547833ff39 /sys/dev/amr/amr_disk.c | |
parent | 04574f03d364517974d4c110979a0f1455aeedee (diff) | |
download | FreeBSD-src-792afbe803fb8075c0d74c67a994d33a5eac6cc7.zip FreeBSD-src-792afbe803fb8075c0d74c67a994d33a5eac6cc7.tar.gz |
Change the queueing model used by the controller to drastically reduce
the time spent at splbio(). We now avoid it unless we are actually
manipulating the command queues themselves. This doesn't improve
performance noticeably, but should improve concurrency somewhat.
Diffstat (limited to 'sys/dev/amr/amr_disk.c')
-rw-r--r-- | sys/dev/amr/amr_disk.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/amr/amr_disk.c b/sys/dev/amr/amr_disk.c index e33b56a..7b66f4f 100644 --- a/sys/dev/amr/amr_disk.c +++ b/sys/dev/amr/amr_disk.c @@ -184,7 +184,6 @@ static void amrd_strategy(struct buf *bp) { struct amrd_softc *sc = amrd_getsoftc(bp->b_dev); - int s; debug("called"); @@ -208,10 +207,8 @@ amrd_strategy(struct buf *bp) /* pass reference to us */ bp->b_driver1 = sc; - s = splbio(); devstat_start_transaction(&sc->amrd_stats); amr_submit_buf(sc->amrd_controller, bp); - splx(s); return; bad: |