summaryrefslogtreecommitdiffstats
path: root/lib/libutil/logout.c
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1997-08-13 17:02:47 +0000
committergibbs <gibbs@FreeBSD.org>1997-08-13 17:02:47 +0000
commit6bb904da802784134c7c18b540d4d04f4f1d568f (patch)
treea22ad73750d380c388f1b635b3afee6e5146f972 /lib/libutil/logout.c
parent9d8aeece346cc788f59537025b77d57d88c4701f (diff)
downloadFreeBSD-src-6bb904da802784134c7c18b540d4d04f4f1d568f.zip
FreeBSD-src-6bb904da802784134c7c18b540d4d04f4f1d568f.tar.gz
Add a spin lock that prevents the sequencer from attempting to add an
entry to the QOUTFIFO when it is full. This should eliminate the "Timed out while idle" problems that many have reported. In truth, this is somewhat of a hack. Although are interrupt latency is low enough that we should be able to always service the queue in time, since each entry must be passed up to the higher SCSI layer for what can be a large amount of processing (perhaps even resulting in a new command being queued) with interrupts disabled, we need this mechanism to avoid overflow. In the future, these additional tasks will be offloaded to a software interrupt handler which should make this hack unnecessary.
Diffstat (limited to 'lib/libutil/logout.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud