freebsd-dev/sys
Warner Losh 3cf5dd8401 Use buf to send speedup
It turns out there's a problem with using g_io to send the speedup. It leads to
a race when there's a resource shortage when a disk fails.

Instead, send BIO_SPEEDUP via struct buf. This is pretty straight forward,
except we need to transfer the bio_flags from b_ioflags for BIO_SPEEDUP commands
in g_vfs_strategy.

Reviewed by: kirk, chs
Differential Revision: https://reviews.freebsd.org/D23117
2020-01-17 01:16:19 +00:00
..
amd64 Set .ORDER for makesyscalls generated files 2020-01-10 18:24:17 +00:00
arm arm: allwinner: ahci: target-supply is optional 2020-01-16 20:19:20 +00:00
arm64 arm64: rockchip: Add RK3399 PWM driver 2020-01-16 21:25:13 +00:00
bsm Jail and capability mode for shm_rename; add audit support for shm_rename 2019-11-18 13:31:16 +00:00
cam Const-poison the cam_sim_* convenience accessor functions. 2020-01-09 16:34:54 +00:00
cddl Map ECKSUM and EFRAGS from ZFS onto real errnos. 2020-01-13 22:06:16 +00:00
compat Handle a NULL thread pointer in linux_close_file(). 2020-01-15 15:31:35 +00:00
conf arm64: rockchip: Add RK3399 PWM driver 2020-01-16 21:25:13 +00:00
contrib MFV: r356607 2020-01-10 22:49:14 +00:00
crypto
ddb Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
dev dwmmc: Remove max_hz from the softc 2020-01-16 21:50:53 +00:00
dts arm64: allwinner: dtso: Add spi0 spigen DTSO 2020-01-11 18:36:10 +00:00
fs unionfs: use MNTK_NOMSYNC 2020-01-16 22:45:08 +00:00
gdb Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
geom Use buf to send speedup 2020-01-17 01:16:19 +00:00
gnu Import DTS files for riscv from Linux 5.4 2019-12-03 09:12:53 +00:00
i386 Set .ORDER for makesyscalls generated files 2020-01-10 18:24:17 +00:00
isa sc(4) md bits: stop setting sc->kbd entirely 2019-12-30 02:07:55 +00:00
kern vfs: increment numvnodes without the vnode list lock unless under pressure 2020-01-16 21:45:21 +00:00
kgssapi
libkern random(9): Deprecate random(9), remove meaningless srandom(9) 2019-12-26 19:41:09 +00:00
mips Preserve the inherited value of the status register in cpu_set_upcall(). 2020-01-14 18:00:04 +00:00
modules [PowerPC64] Enable virtio drivers 2020-01-16 11:33:15 +00:00
net gif_transmit() must always be called in the network epoch. 2020-01-15 06:18:32 +00:00
net80211
netgraph Generate MAC address from the FreeBSD OUI range. 2020-01-16 20:12:15 +00:00
netinet Remove debug code not needed anymore. 2020-01-16 17:15:06 +00:00
netinet6 Introduce NET_EPOCH_CALL() macro and use it everywhere where we free 2020-01-15 06:05:20 +00:00
netipsec Fix m_pullup() problem after removing PULLDOWN_TESTs and KAME EXT_*macros. 2019-12-01 00:22:04 +00:00
netpfil Introduce NET_EPOCH_CALL() macro and use it everywhere where we free 2020-01-15 06:05:20 +00:00
netsmb
nfs vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
nfsclient
nfsserver
nlm vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
ofed Make sure the VNET is properly set when reaping mbufs in ipoib. 2020-01-11 12:02:16 +00:00
opencrypto Add stricter checking on mac key lengths. 2020-01-09 18:29:59 +00:00
powerpc [PowerPC64] Enable virtio drivers 2020-01-16 11:33:15 +00:00
riscv RISC-V: fix global symbol lookups for mpentry with lld 2020-01-13 03:39:02 +00:00
rpc Change r355157 to make svc_rpc_gss_lifetime_max a static. 2019-11-28 02:18:51 +00:00
security vfs: eliminate v_tag from struct vnode 2020-01-07 04:29:34 +00:00
sparc64 Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
sys Introduce NET_EPOCH_CALL() macro and use it everywhere where we free 2020-01-15 06:05:20 +00:00
teken
tests
tools makesyscalls.lua: generate all files in /tmp, write into place at the end 2020-01-10 18:22:14 +00:00
ufs Use buf to send speedup 2020-01-17 01:16:19 +00:00
vm Simplify VM and UMA startup by eliminating boot pages. Instead use careful 2020-01-16 05:01:21 +00:00
x86 Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
xdr
xen
Makefile