1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00
freebsd/sys
Warner Losh a8837c77ef mpr: fix freeze / release mismatch in timeout code
So, if we're processing a timeout, and we've sent an ABORT to the
firmware for that timeout, but not yet received the response from the
firmware, AND we get another timeout, we queue the timeout and freeze
the queue. However, when we've finally processed them all, we only
release the queue once. This causes all I/O to halt as the devq remains
frozen forever.

Instead, only freeze the queue when we start the process (eg set INRESET
on the target). This will allow the release when all the timed out I/Os
have finished ABORTing.

Sponsored by:		Netflix
Reviewed by:		mav
Differential Revision:	https://reviews.freebsd.org/D33054
2021-11-21 08:54:45 -07:00
..
amd64 minidump: Use the provided dump bitset 2021-11-19 15:05:52 -04:00
arm minidump: Use the provided dump bitset 2021-11-19 15:05:52 -04:00
arm64 minidump: Use the provided dump bitset 2021-11-19 15:05:52 -04:00
bsm
cam
cddl
compat LinuxKPI: make bcd.h use libkern 2021-11-18 23:10:34 +00:00
conf kmod_syms.awk: fix removal of the export list from the symbol table 2021-11-18 15:56:24 +02:00
contrib zfs: Fix a deadlock between page busy and the teardown lock 2021-11-20 11:21:25 -05:00
crypto aesni: Avoid a potential out-of-bounds load in AES_GCM_encrypt() 2021-11-16 13:30:22 -05:00
ddb
dev mpr: fix freeze / release mismatch in timeout code 2021-11-21 08:54:45 -07:00
dts
fs ext2fs: check for eh_depth in ext4_ext_check_header() 2021-11-18 09:54:42 -08:00
gdb
geom geom: Remove g_class.config 2021-11-18 23:17:07 -07:00
gnu
i386 minidump: Use the provided dump bitset 2021-11-19 15:05:52 -04:00
isa
kern mount: retire kernel_vmount() 2021-11-20 10:22:28 -09:00
kgssapi
libkern
mips Allow minidumps to be performed on the live system 2021-11-19 15:05:53 -04:00
modules Fix some modules to export more used symbols 2021-11-18 15:56:23 +02:00
net if_stf: add dtrace probe points 2021-11-20 19:29:01 +01:00
net80211 net80211: radiotap add another define 2021-11-18 14:59:04 +00:00
netgraph
netinet cc_newreno(4): Fix a typo in a source code comment 2021-11-19 19:16:02 +01:00
netinet6 if_stf: add 6rd support 2021-11-20 19:29:01 +01:00
netipsec sctp: Remove now-unneeded mb_unmapped_to_ext() calls 2021-11-16 13:38:09 -05:00
netpfil ipfw: remove unnecessary TCP related includes 2021-11-18 00:54:28 -08:00
netsmb
nfs kernel: partially revert e9efb1125a15, default inet mask 2021-11-14 14:12:25 -06:00
nfsclient
nfsserver
nlm
ofed
opencrypto ktls: Split encrypt vs decrypt OCF counters. 2021-11-16 09:58:52 -08:00
powerpc minidump: Use the provided dump bitset 2021-11-19 15:05:52 -04:00
riscv minidump: Use the provided dump bitset 2021-11-19 15:05:52 -04:00
rpc mbuf: Only allow extpg mbufs if the system has a direct map 2021-11-16 13:31:04 -05:00
security
sys mount: retire kernel_vmount() 2021-11-20 10:22:28 -09:00
teken
tests
tools makesyscalls: make strip_abi_prefix more robust 2021-11-17 20:12:21 +00:00
ufs ffs_softdep: Fix a typo in a source code comment 2021-11-19 19:17:41 +01:00
vm minidump: Use the provided dump bitset 2021-11-19 15:05:52 -04:00
x86 minidump: Parameterize minidumpsys() 2021-11-19 15:05:52 -04:00
xdr
xen xen/privcmd: fix MMAP_RESOURCE ioctl to copy out results 2021-11-18 09:46:44 +01:00
Makefile