freebsd-dev/sys
Matt Jacob 73cf209ffb Put a bit of hysteresis into both BUSY SCSI status returns
and CAM_RESRC_UNAVAIL returns. Delay a tunable amount for
either between retries.

This came up because the MPT IOC was returning "IOC out of
resources" for some user and this caused a CAM_RESRC_UNAVAIL
return. Putting a bit of delay between retries helped them
out.

There was some discussion that an async event should be used
to clear CAM_RESRC_UNAVAIL. That's probably a better notion
eventually.

Reviewed by:	scsi@freebsd.org (ade, scott)
MFC after:	1 week
2006-10-01 20:23:50 +00:00
..
amd64 Extend comment explaining why code is conditional at !defined(SCHED_ULE). 2006-09-27 22:09:35 +00:00
arm Use __builtin_va_start instead of __builtin_stdarg_start. GCC4 obsoletes 2006-09-21 01:37:02 +00:00
boot Add module loading option for Intel High Definition Audio Controller 2006-10-01 14:58:30 +00:00
bsm Merge OpenBSM 1.0 alpha 12 import changes into src/sys/bsm. New events 2006-09-25 12:22:07 +00:00
cam Put a bit of hysteresis into both BUSY SCSI status returns 2006-10-01 20:23:50 +00:00
coda Since DELAY() was moved, most <machine/clock.h> #includes have been 2006-05-16 14:37:58 +00:00
compat MFp4: 2006-09-23 19:06:54 +00:00
conf Add notes and option for Intel High Definition Audio Controller 2006-10-01 14:56:10 +00:00
contrib remove this from HEAD too since it got taken off the vendor branch 2006-09-18 17:01:35 +00:00
crypto Less magic. 2006-09-15 10:44:55 +00:00
ddb Fix two nits in the ps header that offset each other making them largely 2006-08-01 22:30:55 +00:00
dev snd_ak452x is replaced by snd_spicds and snd_envy24ht is new. 2006-10-01 14:57:34 +00:00
fs Fix our ioctl(2) implementation when the argument is "int". New 2006-09-27 19:57:02 +00:00
gdb Convert to new console api 2006-05-26 13:54:27 +00:00
geom One more white space fix. 2006-09-30 08:23:06 +00:00
gnu Add mnt_noasync counter to better handle interleaved calls to nmount(), 2006-09-26 04:15:59 +00:00
i4b Extend i4b to support CAPI manager based ISDN controllers (CAPI manager is part of 2006-07-09 21:16:06 +00:00
i386 Remove the no longer relevant or correct bootinfo sysctls. 2006-09-30 10:08:09 +00:00
ia64 Added COMPAT_FREEBSD6 option. 2006-09-26 12:36:34 +00:00
isa Eliminate one set of XBOX #ifdefs. The Xbox code just needs to set a 2006-08-09 23:47:38 +00:00
isofs/cd9660 Use mount interlock to protect all changes to mnt_flag and mnt_kern_flag. 2006-09-26 04:12:49 +00:00
kern Readd rev. 1.145 because of vfs bugs and races near revoke(). Until they 2006-09-30 22:51:05 +00:00
libkern Add strstr() function to the libkern. 2006-08-12 15:28:39 +00:00
modules Connect snd_hda(4) to build process... 2006-10-01 11:18:56 +00:00
net Remove licence clauses 3 & 4 2006-10-01 03:48:32 +00:00
net80211 Now that we have COMPAT_FREEBSD6 officially, use it from opt_compat.h. 2006-09-26 12:41:13 +00:00
netatalk Since soisdisconnected() is no longer called in pru_detach(), call it 2006-08-05 14:14:34 +00:00
netatm Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netgraph Don't use data after free. 2006-09-30 12:37:43 +00:00
netinet Remove stone-aged and irrelevant "#ifndef notdef". 2006-09-29 16:44:45 +00:00
netinet6 A better fix is to check if it is a host route. 2006-09-30 20:25:33 +00:00
netipsec Fix build breakage from previous commit which confused key_abort and key_close. 2006-07-22 09:18:02 +00:00
netipx Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netkey With exception of the if_name() macro, all definitions in net_osdep.h 2006-08-04 21:27:40 +00:00
netnatm Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netncp - Fix ncp_poll() to not panic if the socket doesn't have any pending data. 2006-08-03 15:31:52 +00:00
netsmb Fix misalignment bugs caused by invalid type casts of pointers 2006-08-22 03:05:51 +00:00
nfs Fixes for NFS crashes on architectures that require strict alignment. 2005-07-14 20:08:27 +00:00
nfs4client Fixes up the handling of shared vnode lock lookups in the NFS client, 2006-09-13 18:39:09 +00:00
nfsclient Add mnt_noasync counter to better handle interleaved calls to nmount(), 2006-09-26 04:15:59 +00:00
nfsserver - Add a new function nfsrv_destroycache() to tear down the server request 2006-08-01 16:27:14 +00:00
opencrypto When DIAGNOSTIC is defined, verify if we don't free crypto requests from 2006-06-06 15:04:52 +00:00
pc98 Remove the no longer relevant or correct bootinfo sysctls. 2006-09-30 10:08:09 +00:00
pccard I don't believe these are used at all, and can be safely removed 2006-01-15 06:49:28 +00:00
pci Add support for 945G/GM AGP chipsets. 2006-09-27 06:38:54 +00:00
posix4 Backout the feature which can change thread's scheduling option, I really 2006-07-13 06:41:26 +00:00
powerpc Added COMPAT_FREEBSD6 option. 2006-09-26 12:36:34 +00:00
rpc Fix up some cut-n-paste damage and some out-of-date comments. 2006-01-20 15:20:41 +00:00
security Rework the way errors are handled with respect to how audit records are 2006-09-24 13:35:58 +00:00
sparc64 Added COMPAT_FREEBSD6 option. 2006-09-26 12:36:34 +00:00
sys Bump __FreeBSD_version for OpenSSL 0.9.8d import. 2006-10-01 08:26:41 +00:00
tools Check for errors when registering and unregistering firmware modules. This 2006-06-16 21:06:03 +00:00
ufs Protect change to bo_flag by holding the bufobj mutex. 2006-09-26 04:21:20 +00:00
vm Fix two minor style(9) nits in v1.313 which were noticed during an 2006-09-29 00:20:56 +00:00
Makefile Don't need to special case arm here anymore 2006-08-10 06:29:43 +00:00