[Midnightbsd-cvs] [MidnightBSD/src] 2154a2: cam/scsi: Add sysctl flag CTLFLAG_TUN to loader tu...

Lucas Holt noreply at github.com
Sat Dec 9 14:00:46 EST 2023


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 2154a2b97726135507661b38d1d5503f51aa1312
      https://github.com/MidnightBSD/src/commit/2154a2b97726135507661b38d1d5503f51aa1312
  Author: Zhenlei Huang <zlei at FreeBSD.org>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M sys/cam/scsi/scsi_all.c

  Log Message:
  -----------
  cam/scsi: Add sysctl flag CTLFLAG_TUN to loader tunable

The sysctl variable 'kern.cam.scsi_delay' is actually a loader tunable.
Add sysctl flag CTLFLAG_TUN to it so that `sysctl -T` will report it
correctly.

No functional change intended.

Reviewed by:	kib, imp (for #cam)
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D42113

(cherry picked from commit e2ad7ce37b1a354750d2dd3567e77f72edeb7e1d)
(cherry picked from commit 4bf38105464ba4dde42a9d3cf223f152aa980a1b)
(cherry picked from commit 7ac42534c2343f2fc80feb1702751094d41e6873)


  Commit: 9fefc06887e1edc48ebd505cb8ce7c22a2a0f8d4
      https://github.com/MidnightBSD/src/commit/9fefc06887e1edc48ebd505cb8ce7c22a2a0f8d4
  Author: Zhenlei Huang <zlei at FreeBSD.org>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M sys/ddb/db_capture.c

  Log Message:
  -----------
  ddb: Add sysctl flag CTLFLAG_TUN to loader tunable

The sysctl variable 'debug.ddb.capture.bufsize' is actually a loader
tunable. Add sysctl flag CTLFLAG_TUN to it so that `sysctl -T` will
report it correctly.

No functional change intended.

Reviewed by:	kib, imp
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D42113

(cherry picked from commit 0eb2e197896e2ec8a45730b61eeb77d5431af69f)
(cherry picked from commit 0de3d5316cbc8297c61952c392e4b9d58b538b99)
(cherry picked from commit 9edd545370254b30ae4fbaa618b33004e3005bb3)


  Commit: 23ed449d1bc8632676b3bb3a5180a3e194325aa2
      https://github.com/MidnightBSD/src/commit/23ed449d1bc8632676b3bb3a5180a3e194325aa2
  Author: Zhenlei Huang <zlei at FreeBSD.org>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M sys/fs/nfsclient/nfs_clnfsiod.c

  Log Message:
  -----------
  nfscl: Add sysctl flag CTLFLAG_TUN to loader tunable

The sysctl variable 'vfs.nfs.iodmin' is actually a loader tunable. Add
sysctl flag CTLFLAG_TUN to it so that `sysctl -T` will report it
correctly.

No functional change intended.

Reviewed by:	kib, imp
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D42113

(cherry picked from commit 95c01e9b329406699e89907167b5c3c9effbcbca)
(cherry picked from commit 3133f4d9dec495275120f920c0939b2752ac3d4d)
(cherry picked from commit 234919330105ef0b06548fb92d411ad1939ac0bb)


  Commit: de14126654dc7a96c828191b765d65b4b36bbbd7
      https://github.com/MidnightBSD/src/commit/de14126654dc7a96c828191b765d65b4b36bbbd7
  Author: Zhenlei Huang <zlei at FreeBSD.org>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M sys/x86/x86/cpu_machdep.c

  Log Message:
  -----------
  x86: Add sysctl flag CTLFLAG_TUN to loader tunables

The following sysctl variables are actually loader tunables. Add sysctl
flag CTLFLAG_TUN to them so that `sysctl -T` will report them correctly.

 1. machdep.idle
 2. machdep.idle_apl31

No functional change intended.

Reviewed by:	kib, imp
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D42113

(cherry picked from commit 149b9c234b00ff902718e1f76c809609a5465198)
(cherry picked from commit 9eac775b415bf54080a98a9cf62524b8a6817595)
(cherry picked from commit cabab5c36287e07cc2890ef76f7e849f16636164)


  Commit: bd4a346e05b04dcfe07d642bcbe51953b0536ee9
      https://github.com/MidnightBSD/src/commit/bd4a346e05b04dcfe07d642bcbe51953b0536ee9
  Author: Zhenlei Huang <zlei at FreeBSD.org>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M sys/kern/kern_descrip.c

  Log Message:
  -----------
  fd: Add sysctl flag CTLFLAG_TUN to loader tunables

The following sysctl variables are actually loader tunables. Add sysctl
flag CTLFLAG_TUN to them so that `sysctl -T` will report them correctly.

 1. kern.maxfiles
 2. kern.maxfilesperproc

No functional change intended.

Reviewed by:	kib, imp
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D42113

(cherry picked from commit 2af5ce5b5efb0cf6514acdc4a8b4058221641c39)
(cherry picked from commit d9aa723347825418c742164c3e9a77d1e4b6943d)
(cherry picked from commit 4f8eaa24a2ac40363ad13101a60ba3516a7ef401)


  Commit: 82ae3d408585d6092c00ed9430999dbed09bfe85
      https://github.com/MidnightBSD/src/commit/82ae3d408585d6092c00ed9430999dbed09bfe85
  Author: Zhenlei Huang <zlei at FreeBSD.org>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M sys/kern/uipc_socket.c

  Log Message:
  -----------
  sockets: Add sysctl flag CTLFLAG_TUN to loader tunable

The sysctl variable 'kern.ipc.maxsockets' is actually a loader tunable.
Add sysctl flag CTLFLAG_TUN to it so that `sysctl -T` will report it
correctly.

No functional change intended.

Reviewed by:	kib, imp
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D42113

(cherry picked from commit 978be1ee5d5fef983b4163955e15c4269c0ec76d)
(cherry picked from commit e4f97a1ec798d69b8ebf767d0dd2e43fbb1550f6)
(cherry picked from commit 6dbde842456151de0cec331b99e7330a80ae949c)


  Commit: 065aff605bb1c4262964919a86952451e907f487
      https://github.com/MidnightBSD/src/commit/065aff605bb1c4262964919a86952451e907f487
  Author: Zhenlei Huang <zlei at FreeBSD.org>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M sys/kern/vfs_bio.c

  Log Message:
  -----------
  buf: Add sysctl flag CTLFLAG_TUN to loader tunable

The sysctl variable 'vfs.unmapped_buf_allowed' is actually a loader
tunable. Add sysctl flag CTLFLAG_TUN to it so that `sysctl -T` will
report it correctly.

No functional change intended.

Reviewed by:	kib, imp
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D42113

(cherry picked from commit 31b94065300a76e52c26b8caec7256574d64a777)
(cherry picked from commit 8c4eaac1534e0486bd0fc6816ccb59fc348a5707)
(cherry picked from commit 5184476107f7dfcbc9931a94a91f16c71915bbd9)


  Commit: 04a669ab3f407de41245d8ba205db8b88142032c
      https://github.com/MidnightBSD/src/commit/04a669ab3f407de41245d8ba205db8b88142032c
  Author: Zhenlei Huang <zlei at FreeBSD.org>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M sys/kern/kern_mbuf.c

  Log Message:
  -----------
  mbuf: Add sysctl flag CTLFLAG_TUN to loader tunables

The following sysctl variables are actually loader tunables. Add sysctl
flag CTLFLAG_TUN to them so that `sysctl -T` will report them correctly.

 1. kern.ipc.nmbclusters
 2. kern.ipc.nmbjumbop
 3. kern.ipc.nmbjumbo9
 4. kern.ipc.nmbjumbo16
 5. kern.ipc.nmbufs

No functional change intended.

Reviewed by:	kib, imp
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D42113

(cherry picked from commit 6a88498e53b24d870e066c2a94910ad23dd355eb)
(cherry picked from commit b1456fd6209474410c031e5e82455588e2b656c0)
(cherry picked from commit 0007ba082c3353f0c545e5dcf328ce30d74c5ab7)


  Commit: 1ab0004ac8934a16614511cddbe7fe90d6252d8a
      https://github.com/MidnightBSD/src/commit/1ab0004ac8934a16614511cddbe7fe90d6252d8a
  Author: Gregory Neil Shapiro <gshapiro at FreeBSD.org>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M etc/sendmail/midnightbsd.mc

  Log Message:
  -----------
  MFC: Remove confDH_PARAMETERS settings in favor of using sendmail's
built-in default which was added in sendmail 8.15.2 (the config
line predates that 8.15.2 feature).  This also alleviates the need
for admins to create the DH parameters file if they opt to use
Diffie-Hellman.

PR:		248387

(cherry picked from commit 98fd1add676321978db72d77d34ef51ca454c814)


  Commit: f7ed2660db3916c059fe9bea95e8a229f98bbe77
      https://github.com/MidnightBSD/src/commit/f7ed2660db3916c059fe9bea95e8a229f98bbe77
  Author: Zhenlei Huang <zlei at FreeBSD.org>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M sys/netinet/tcp_subr.c

  Log Message:
  -----------
  tcp: Simplify the initialization of loader tunable 'net.inet.tcp.tcbhashsize'

No functional change intended.

Reviewed by:	cc, rscheff, #transport
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D41998

(cherry picked from commit 38ecc80b2a4e5e11ece83ca4df63632f0b6fa394)
(cherry picked from commit 3a97686fc11ae51ceb4004c07702a8a20f71410d)
(cherry picked from commit 379f41a117eb8aaf1dd43414658606d2ef0534a7)


  Commit: 228a2b740142a04da7743f99a765962f82aaee88
      https://github.com/MidnightBSD/src/commit/228a2b740142a04da7743f99a765962f82aaee88
  Author: Zhenlei Huang <zlei at FreeBSD.org>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M sys/netinet/sctp_pcb.c
    M sys/netinet/sctp_sysctl.c

  Log Message:
  -----------
  sctp: Various fixes for loader tunables

The following sysctl variables are actually loader tunables. Add sysctl
flag CTLFLAG_TUN to them so that `sysctl -T` will report them correctly.

 1. net.inet.sctp.tcbhashsize
 2. net.inet.sctp.pcbhashsize
 3. net.inet.sctp.chunkscale

The loader tunable 'net.inet.sctp.tcbhashsize' and 'net.inet.sctp.chunkscale'
are only used during vnet initializing, thus it make no senses to make them
writable tunable.

Validate the values of loader tunables on vnet initialize, reset them to
theirs defaults if invalid to prevent potential kernel panics.

Reviewed by:	tuexen, #transport, #network
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D42007

(cherry picked from commit dac91eb7660324677d8a2f71bd6f192422355ba1)
(cherry picked from commit fd9de12a71109d1e3bb4b20e7d040fc9a1784dc2)
(cherry picked from commit 69e05e06c60d1f068fafcc4a26ef5efdb8771c71)


  Commit: 062be1ce26d82483930c52fcad2a2a4eec4a91f1
      https://github.com/MidnightBSD/src/commit/062be1ce26d82483930c52fcad2a2a4eec4a91f1
  Author: Eugene Grosbein <eugen at FreeBSD.org>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M sys/dev/usb/quirk/usb_quirk.c
    M sys/dev/usb/usbdevs

  Log Message:
  -----------
  usbdevs: add quirk for WD MyPassport Ultra External HDD

WD MyPassport Ultra External HDD needs quirk
UQ_MSC_NO_TEST_UNIT_READY to attach.

(cherry picked from commit 970d73856b626a68597de19d37b68c376e2c0491)


Compare: https://github.com/MidnightBSD/src/compare/4bfb695fd3db...062be1ce26d8


More information about the Midnightbsd-cvs mailing list