freebsd-dev/sys
Jim Harris dd92530581 Wait until completion context unwinds before retrying CCBs that have been
queued internally.  This works around issue in the isci HAL where it cannot
accept new I/O to a device after a resetting->ready state transition until
the completion context has unwound.

This issue was found by submitting non-tagged CCBs through pass(4) interface
to a SATA disk with an extremely small timeout value (5ms).  This would trigger
internal resets with I/O in the isci(4) internal queues.

The small timeout value had not been intentional (and original reporter has
since changed his test to use 5sec instead), but it did uncover this corner
case that would result in a hung disk.

Sponsored by: Intel
Reported and tested by: Ravi Pokala <rpokala at panasas dot com>
Reviewed by: scottl (earlier version)
MFC after: 1 week
2012-05-21 22:54:33 +00:00
..
amd64 Replace all uses of the vm page queues lock by a r/w lock that is private 2012-05-20 18:25:45 +00:00
arm Be a little less magical, not that these values are likely to change... 2012-05-21 07:47:57 +00:00
boot Determine kernel load address dynamically from u-boot memory map. 2012-05-20 18:07:35 +00:00
bsm
cam Add two functions xpt_batch_start() and xpt_batch_done() to the CAM SIM KPI 2012-05-12 13:55:36 +00:00
cddl add a zfs spa_t change missed in r235329 2012-05-12 16:36:54 +00:00
compat - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00
conf Migrate most of the beacon handling functions out to if_ath_beacon.c. 2012-05-20 04:14:29 +00:00
contrib Revert r234834 per luigi@ request. 2012-05-03 08:56:43 +00:00
crypto
ddb
dev Wait until completion context unwinds before retrying CCBs that have been 2012-05-21 22:54:33 +00:00
fs A problem with the NFSv4 server was reported by Andrew Leonard 2012-05-17 21:52:17 +00:00
gdb
geom Prevent removing of the last active component from a mirror. 2012-05-18 09:22:21 +00:00
gnu/fs
i386 Remove cpususpend IDT vector for XEN. 2012-05-20 08:17:20 +00:00
ia64 Don't assume we have legacy PICs (i.e. 8259A in cascade) at the legacy 2012-05-04 23:16:29 +00:00
isa
kern Fix old panic when BPF consumer attaches to destroying interface. 2012-05-21 22:17:29 +00:00
kgssapi
libkern Use strcmp that I replaced by accident. 2012-05-21 02:45:47 +00:00
mips Enable the AR8316 switch on the routerstation pro board. 2012-05-19 20:11:18 +00:00
modules Migrate most of the beacon handling functions out to if_ath_beacon.c. 2012-05-20 04:14:29 +00:00
net Make most BPF ioctls() SMP-safe. 2012-05-21 22:21:00 +00:00
net80211
netatalk
netgraph
netinet Remove unused inclusion of curses.h 2012-05-19 05:14:24 +00:00
netinet6 Rewrite nd6_sysctl_{d,p}rlist() to avoid misaligned accesses to char arrays 2012-05-20 05:12:31 +00:00
netipsec
netipx
netnatm
netncp
netsmb
nfs
nfsclient PR# 165923 reported intermittent write failures for dirty 2012-05-12 12:02:51 +00:00
nfsserver
nlm
ofed Revert r234834 per luigi@ request. 2012-05-03 08:56:43 +00:00
opencrypto
pc98 Add SMP/i386 suspend/resume support. 2012-05-18 18:55:58 +00:00
pci
powerpc Replace the list of PVOs owned by each PMAP with an RB tree. This simplifies 2012-05-20 14:33:28 +00:00
rpc
security Check vplabel for NULL before dereferencing it. Fixes a panic 2012-05-03 15:51:34 +00:00
sparc64 Fix mismerge in r235231. 2012-05-10 15:23:20 +00:00
sys Fix improper handling of variadic args with ICDEBUG 2012-05-21 02:30:22 +00:00
teken
tools
ufs Add missing `continue' statement at end of case. 2012-05-18 15:20:21 +00:00
vm Replace the list of PVOs owned by each PMAP with an RB tree. This simplifies 2012-05-20 14:33:28 +00:00
x86 Don't expose i386-only ptrace constants on amd64. This broke gdb with 2012-05-17 20:21:55 +00:00
xdr
xen
Makefile