diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2010-07-08 23:18:56 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2010-07-08 23:18:56 +0000 |
commit | 2b2bb92735e1bc2a0f341794b9f1c81f3656b8c0 (patch) | |
tree | f88d1c103bed31dbbd0d8952a663e50a34a0b138 /sys/dev/pci/if_age.c | |
parent | b8c96ef5a81fefe9a9f3fd687026b64033506207 (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/if_age.c')
0 files changed, 0 insertions, 0 deletions