From nobody Sat Sep 17 05:48:11 2022 X-Original-To: dev-commits-src-all@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 4MV0ND08GTz4cR2K; Sat, 17 Sep 2022 05:48:12 +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 4MV0NC6Yp2z3Pgk; Sat, 17 Sep 2022 05:48:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663393691; 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=X8VEETOUiq3788vJ8vwAJhlyKxNIpquFXzgXFCmPmwI=; b=n5tdy5wQhUZ7lwo78o3rs6yVnRKCZGVeCPhHKPtXxUNqU1PG4tMuxpr2ZapmXM3btQBZug dbFrRJieraIzJYD4ITT9Ci5C+jXPOru/l0Q6PfqHg4NvoFHFedBobSdgnyabv6vEVQxrSw WPdKwiXNAEXLV4hBOuZit89lf8aueIevZbqEC00M/XQrBJz5Zywnbulyhe7LYW0uXmVmE9 e94npUAOKGXFvxgjMobWWHg4vrCnX/TkyzbJlF9TE1OoET/6/QJR9WCQB+0QijMvO9SxLH ZXM2/7PbbRTST3h08bUa9W8NtkODjWehc+wHdi3KxHOdrp+xJkJlSZdJn7ECww== 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 4MV0NC5fD5zcG5; Sat, 17 Sep 2022 05:48:11 +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 28H5mBir022784; Sat, 17 Sep 2022 05:48:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28H5mBpi022783; Sat, 17 Sep 2022 05:48:11 GMT (envelope-from git) Date: Sat, 17 Sep 2022 05:48:11 GMT Message-Id: <202209170548.28H5mBpi022783@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: 8fafc34128dc - stable/12 - da.4: Add some sysctl descriptions List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/stable/12 X-Git-Reftype: branch X-Git-Commit: 8fafc34128dc60305f276ed3b9e816c6416bcd25 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663393691; 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=X8VEETOUiq3788vJ8vwAJhlyKxNIpquFXzgXFCmPmwI=; b=S0TFwqA5KTHIzzCnLX0VwrcccpmsR1cf8oNfDYLl4BP+4dviwbd6gaIVz+fKqqQFwH2ypc AT0lYMsvGBzTyU9IP/T7swUk7bIVzJv2r+8f4Ap9ae3iJzQobU87YQjOYIyBtSqAtEV3o2 0d1lGbaQzfNQNh8myu7L9hNQQB9TQQ+pW6EyPQmCvEJF85oBrCL7LhZiDdKUwf1rA8+bEC Z+0ZV8F+qfGVAxiBT/QyV8CGdOIVq9dwUiWGTZeIvFwf9gn8kFq4qvolz2hOX2VBD5IHrU V3EzsS4jjy8XrAIeGU2kQpeYUFFp19K4wUGFdMjovU0cU1cfmvsEmQuqltrZHg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663393691; a=rsa-sha256; cv=none; b=dVWICX8WJTUUOD83da0YnUscUa8SjgTj3BTWj2Ya43iWzhpqLIR5WAxJ46dfNdYEG8iDKU IBgfh6ykF3VM0zgVKdokzrIqR5u8iaeGs2iQ+rg0JCvRIbyHBth2Vrbaq6GRdovsFRGH5x 76nagf2fcAzKYXRGbiNZNTtI1T4mpsMY1siVmFya8YidAqtt+s2yvV9+sVUN6o0GnxLaJf MmKAg4gVUMzzSd2lM4E1+OIWIpLPcI6gfhM2Q2UZQqfQSVleJ6boYM/O/Q/SrBoFXFqjHN Wg7n+7okibfJ32sYJ9JPLd7dZojIckJMTWkAhNVgroTFs8tJnswdyn/PGu9WbQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=8fafc34128dc60305f276ed3b9e816c6416bcd25 commit 8fafc34128dc60305f276ed3b9e816c6416bcd25 Author: Felix Johnson AuthorDate: 2022-09-10 07:44:08 +0000 Commit: Gordon Bergling CommitDate: 2022-09-17 05:47:56 +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 Differential Revision: https://reviews.freebsd.org/D32278 (cherry picked from commit 53af9c235f5d368ce788d99e16951a167a152bbc) --- 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