From nobody Sat Sep 10 07:45:16 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MPlJY22Tsz4cbxn; Sat, 10 Sep 2022 07:45:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MPlJY1YlFz3JGf; Sat, 10 Sep 2022 07:45:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662795917; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UqOrZRaaOQCl246tuMZpV4RLlBUy4/ZiwGMAJr0HFB8=; b=i3ulQ44E0QCPBMnXoFSNNoA/XwV71AA4wdklfBOQhq67EyChG2yk+VC2hBaVFDM6tUR1hJ dhLPH8FjIHzTsUmjlG54IwwMWKtANRBRNw2Fmh0vzAD5fudrg6V8JV7vszRP7tqtgGg/0O hhtR5Tt5yC8ISr6+rdOKk7fLZ7/G8DjB0b0fPFEoX3pIlEQDlloFR/vbYUsRvqJbnjvHC/ ARt5qXwNG87vvLDoKoyeMypgHXFV1dPqlAyr5EMuAZnUDysTM2d7NR4z5Ow/9IPnTihhjN e2epgbW64maVT88RKBcx5BXSi+uwWuSDzXUzLB30Ii3v5/D8rnVD2qcagE06xQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MPlJY0d5zzF6d; Sat, 10 Sep 2022 07:45:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28A7jGYl028092; Sat, 10 Sep 2022 07:45:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28A7jGrj028091; Sat, 10 Sep 2022 07:45:16 GMT (envelope-from git) Date: Sat, 10 Sep 2022 07:45:16 GMT Message-Id: <202209100745.28A7jGrj028091@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: 53af9c235f5d - main - da.4: Add some sysctl descriptions List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 53af9c235f5d368ce788d99e16951a167a152bbc Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662795917; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UqOrZRaaOQCl246tuMZpV4RLlBUy4/ZiwGMAJr0HFB8=; b=q49on93j0heIDm6L+MzuiZ7wqGbvOg2wp1G4P9LaWhybgklYQHsJpXx2tCCHdgZ2OSBkD3 u3xP9JLNePWWu3K23zBYXZtxEvkmVtqBoCfrjq1uoTp0R66bTbNl71rgyyP5H5MQXsESUr VHkvd2E811kVAJwkvSDjEmiHlHMZqRXZ5kplsWd7jLQhp5w2oIlN49yKq0ZeRmr17SiQEI GUC988hl0t4WTvVGjI7/TpRGjxKc7Q5G6L+uoM6XsZW/JPcHKtO0v5C7YoOanB+0HpBIJ1 Dp6NOTq4TOz6JaVgXLumcQLbOmk6ElOZ2IM8DvzYDJ12D9gRPY/Q9CO0w4KH+g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662795917; a=rsa-sha256; cv=none; b=YqXEWmCbzmhccLNPuJ++a7SeGIWjj6YycTHwyH4lOAUZDhQislJ7ha7mwzXe3LHLBD6cvL J5C9MgJiSryuzPelFskjNFWNnkocPOugTEwgh9ggt847PNGNj0296K7bNG1bfi88uh94Dp tOGXevvqvdFKEMo+OfLmzgZZCTRUFoW5sW6qUYDGd7X2VAKFaPCiu0P5x4F9SruNGapZ03 ozD30/Mfneo1nFangC4+TsFCILknIoQBXH05uFnLMJO2iBpy2+oiUlk2HVHkTaCxYq7KlB 2y3IpW5gyp0OP4Vw7pyiipoTrGC0qdKAPWQWc8i09m8Sk9s07povFZqWriqIPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=53af9c235f5d368ce788d99e16951a167a152bbc commit 53af9c235f5d368ce788d99e16951a167a152bbc Author: Felix Johnson AuthorDate: 2022-09-10 07:44:08 +0000 Commit: Gordon Bergling CommitDate: 2022-09-10 07:44:08 +0000 da.4: Add some sysctl descriptions Add descriptions for the following sysctl's: - kern.cam.da.default_softtimeout - kern.cam.da.disable_wp_protection - kern.cam.da.enable_biospeedup - kern.cam.da.enable_uma_ccbs - kern.cam.da.poll_period - kern.cam.da.send_ordered While here, fix some mandocs warnings. PR: 258727 Reported by: Felix Johnson Reviewed by: debdrup, pauamma, gbe MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D32278 --- share/man/man4/da.4 | 49 ++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 40 insertions(+), 9 deletions(-) diff --git a/share/man/man4/da.4 b/share/man/man4/da.4 index ed820c637750..3795e11c2d09 100644 --- a/share/man/man4/da.4 +++ b/share/man/man4/da.4 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 20, 2017 +.Dd September 10, 2022 .Dt DA 4 .Os .Sh NAME @@ -133,6 +133,36 @@ variables and .Xr loader 8 tunables: .Bl -tag -width 12 +.It Va kern.cam.da.default_softtimeout +Soft I/O timeout (ms). The default is 0. +Attempting to set this value to a +time span longer than +.It kern.cam.da.default_timeout +will return +.Dv EINVAL . +.It Va kern.cam.da.default_timeout +This variable determines how long the +.Nm +driver will wait before timing out an outstanding command. +The units for this value are seconds, and the default is currently 60 +seconds. +.It Va kern.cam.da.disable_wp_protection +Disable detection of write-protected disks. +Default is disabled. +.Po +detection of write-protected disks is enabled +.Pc . +.It Va kern.cam.da.enable_biospeedup +Enable +.Dv BIO_SPEEDUP +processing. +Default is enabled. +.It Va kern.cam.da.enable_uma_ccbs +Use UMA for CCBs. +Default is enabled. +.It Va kern.cam.da.poll_period +Media polling period in seconds. +Default is 3 seconds. .It Va kern.cam.da.retry_count This variable determines how many times the .Nm @@ -142,19 +172,20 @@ the .Nm driver dump routine. This value currently defaults to 4. -.It Va kern.cam.da.default_timeout -This variable determines how long the +.It Va kern.cam.da.send_ordered +Send Ordered Tags. +On shutdown, step through all the .Nm -driver will wait before timing out an outstanding command. -The units for this value are seconds, and the default is currently 60 -seconds. +peripheral drivers, and if the device is still open, +sync the disk to physical media. +Default is enabled. .It Va kern.cam.sort_io_queue -.It Va kern.cam.da. Ns Ar X Ns Va .sort_io_queue +.It Va kern.cam.da . Ns Ar X Ns Va .sort_io_queue These variables determine whether request queue should be sorted trying to optimize head seeks. Set to 1 to enable sorting, 0 to disable, -1 to leave it as-is. The default is sorting enabled for HDDs and disabled for SSDs. -.It Va kern.cam.da. Ns Ar X Ns Va .delete_method +.It Va kern.cam.da . Ns Ar X Ns Va .delete_method This variable specifies method to handle BIO_DELETE requests: .Bl -tag -width "ATA_TRIM" .It ATA_TRIM @@ -170,7 +201,7 @@ WRITE SAME(10) command without UNMAP flag, .It DISABLE disable BIO_DELETE support. .El -.It Va kern.cam.da. Ns Ar X Ns Va .minimum_cmd_size +.It Va kern.cam.da . Ns Ar X Ns Va .minimum_cmd_size This variable determines what the minimum READ/WRITE CDB size is for a given .Nm