freebsd-src/sys
Alexander Motin a9a2cdaf3c cam: Optimize write protection MODE SENSE in da(4).
Before this change on every open da(4) driver read all mode pages to
use only one bit.  It was done so to not depend on the list of pages
supported by the disk.  But I've found that at least for SATL of LSI/
Broadcom HBAs with WD HDDs Power Condition mode page reading may take
significant amount of time, much more than any other mode page, that
visibly increased disk retaste time by GEOM.

Address that by using data returned by the first MODE SENSE request
to limit the following ones to only one (the first for now) mode page.

With the change simultaneous retaste of 39 SATA disks takes about 2.5s
instead of more than 4s before, and I no longer see "dareprobe" status
on GEOM event thread.

MFC after:	2 weeks
Sponsored by:	iXsystems, Inc.
2022-01-14 18:24:52 -05:00
..
amd64 bhyve: add support for MTRR 2022-01-14 12:41:44 +01:00
arm Revert "syscallarg_t: Add a type for system call arguments" 2022-01-12 23:29:20 +00:00
arm64 Revert "syscallarg_t: Add a type for system call arguments" 2022-01-12 23:29:20 +00:00
bsm Add fspacectl(2), vn_deallocate(9) and VOP_DEALLOCATE(9). 2021-08-05 23:20:42 +08:00
cam cam: Optimize write protection MODE SENSE in da(4). 2022-01-14 18:24:52 -05:00
cddl dtrace: add a knob to control maximum size of principal buffers 2022-01-11 15:47:50 +02:00
compat ia32_signal.h: Drop #ifdef's for old compat structures. 2022-01-13 17:44:15 -08:00
conf x86: Speed up clock calibration 2022-01-12 12:34:07 -08:00
contrib LinuxKPI / iwlwifi: fix spelling of constants 2022-01-09 02:21:05 +00:00
crypto crypto: Re-add encrypt/decrypt_multi hooks to enc_xform. 2022-01-11 14:17:41 -08:00
ddb ddb: Remove SOFTWARE_SSTEP support 2022-01-07 09:25:33 -07:00
dev mana: Add RX fencing 2022-01-14 07:34:39 +00:00
dts add rk3328 overlay for enabling analog sound 2021-11-13 11:09:23 +02:00
fs unionfs: allow vnode lock to be held shared during VOP_OPEN 2022-01-11 18:44:03 -08:00
gdb
geom Use G_ELI_IVKEYLEN as the size of IV in the user test code. 2022-01-13 17:22:06 -08:00
gnu
i386 Move struct freebsd4_ucontext to sys/i386/include/ucontext.h. 2022-01-13 17:17:43 -08:00
isa sys/isa: Use C99 fixed-width integer types. 2021-12-28 09:41:57 -08:00
kern Revert "syscallarg_t: Add a type for system call arguments" 2022-01-12 23:29:20 +00:00
kgssapi
libkern sys/libkern: Use C99 fixed-width integer types. 2021-12-28 09:42:11 -08:00
modules crypto.ko: Add hchacha20 from libsodium. 2022-01-11 14:15:51 -08:00
net netmap: fix LOR in iflib_netmap_register 2022-01-14 21:09:04 +00:00
net80211 net80211: adjust a printf to toeee80211_note 2021-12-26 17:26:58 +00:00
netgraph domains: make domain_init() initialize only global state 2022-01-03 10:15:22 -08:00
netinet tcp_usr_connect: report actual error code when stack requests drop 2022-01-13 10:32:41 -08:00
netinet6 domains: make domain_init() initialize only global state 2022-01-03 10:15:22 -08:00
netipsec syncache: accept packet with no SA when TCP_MD5SIG is set 2022-01-08 16:32:14 -09:00
netpfil pf: protect the rpool from races 2022-01-14 10:30:33 +01:00
netsmb
nfs nfs: don't truncate directory cookies to 32-bits in the NFS server 2021-12-15 20:54:57 -07:00
nfsclient
nfsserver
nlm sys/nlm: Use C99 fixed-width integer types. 2021-12-28 09:42:42 -08:00
ofed domains: init with standard SYSINIT(9) or VNET_SYSINIT() 2022-01-03 10:15:22 -08:00
opencrypto stand: Fix KASSERT use 2022-01-11 16:43:18 -07:00
powerpc powerpc: Fix syntax atomic.h 2022-01-14 19:11:22 +08:00
riscv Revert "syscallarg_t: Add a type for system call arguments" 2022-01-12 23:29:20 +00:00
rpc sys/rpc: Use C99 fixed-width integer types. 2021-12-28 09:43:15 -08:00
security Thread creation privilege for realtime group 2021-12-15 00:01:58 +02:00
sys Move struct freebsd4_ucontext to sys/i386/include/ucontext.h. 2022-01-13 17:17:43 -08:00
teken
tests routing: add IPv6 fib validation procedure. 2021-08-16 23:04:01 +00:00
tools Revert "syscallarg_t: Add a type for system call arguments" 2022-01-12 23:29:20 +00:00
ufs Avoid unnecessary setting of UFS flag requesting fsck(8) be run. 2022-01-09 16:18:28 -08:00
vm uma: Avoid polling for an invalid SMR sequence number 2022-01-14 15:38:02 -05:00
x86 atrtc: reads Century field from FADT table 2022-01-13 11:24:00 -06:00
xdr sys/xdr: Use C99 fixed-width integer types. 2021-12-28 09:43:26 -08:00
xen Create wrapper for Giant taken for newbus 2021-12-09 17:04:45 -07:00
Makefile Fix 'make cscope' with ALL_ARCH defined 2022-01-07 11:53:52 -04:00