Page MenuHomeFreeBSD

Make nfs_fha sysctls per vnet and get rid of IS_DEFAULT_VNET()
ClosedPublic

Authored by rmacklem on Feb 23 2023, 9:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 13, 8:15 AM
Unknown Object (File)
Sun, Jan 12, 7:36 PM
Unknown Object (File)
Tue, Dec 31, 12:31 AM
Unknown Object (File)
Nov 24 2024, 10:59 AM
Unknown Object (File)
Nov 19 2024, 5:37 AM
Unknown Object (File)
Oct 5 2024, 6:43 PM
Unknown Object (File)
Oct 5 2024, 3:30 PM
Unknown Object (File)
Oct 5 2024, 2:55 PM
Subscribers

Details

Summary

Instead of only doing the tuning sysctls for prison0
by using IS_DEFAULT_VNET(), make them per-vnet.
This gets rid of the IS_DEFAULT_VNET() calls in
the initialization function.

Test Plan

Tested on a system that is running nfsd(8) in
vnet prisons ad well as prison0.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable