summaryrefslogtreecommitdiff
path: root/sys/dev/pci/musyccvar.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2010-07-08 23:18:56 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2010-07-08 23:18:56 +0000
commit2b2bb92735e1bc2a0f341794b9f1c81f3656b8c0 (patch)
treef88d1c103bed31dbbd0d8952a663e50a34a0b138 /sys/dev/pci/musyccvar.h
parentb8c96ef5a81fefe9a9f3fd687026b64033506207 (diff)
dont count requeued io as outstanding io. there is a 1:1 mapping
between calls to bufq_enqueue and bufq_done calls, but bufq_requeue can be called multiple times on an io in between the enqueue and done. if you keep incrementing outstanding you'll never stop sleeping for suspend. bufq_requeue can be called via interrupts, so we cannot sleep there. the problems fixed by this diff were never hit cos the adapters people are testing/running with do not cause bufq_requeue to be called. thanks to thib@ for helping me understand the code better ok thib@ deraadt@ kettenis@ tedu@
Diffstat (limited to 'sys/dev/pci/musyccvar.h')
0 files changed, 0 insertions, 0 deletions