From nobody Wed Jul 13 14:45:27 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 7DEB61D01FAC; Wed, 13 Jul 2022 14:45:27 +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 4LjgQb3C8sz3G8w; Wed, 13 Jul 2022 14:45:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657723527; 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=tUiqDEYDZcr/gfTCqGhalbLM8Qgpe4vPHUyogXSBJx0=; b=A72WYaNZsRkXBSOhRZHC3E7AvbWgxcASN86rX8WvEOpWqe0WSHv1Jiu9PvQDZbAknBbD+e 6YlT3Vl49dPpbokNjI9NyianKKRIlg9durd8J6GgFjAUOPrhfvVP8TBji+VnpvnR09yI+7 eeUXXEhIuByUhPEFECshZyPz/t9E/3gE4rf+YW6Fwaz8XbjYVMw7xu06+OWTUEomJecCV8 4LpYr6jtMHRhI/J1HqLOBuWkUSMiXx/9poiDZIlJ0Ayr6iXCfczUf0ZgkEISNZRDvGJJLe othISemS5wASqOt8Dis95Di52dLdJHJJQb4BfvGKdWnfW+wCRiBxqUMzU6ad/w== 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 4LjgQb2J57zRjM; Wed, 13 Jul 2022 14:45:27 +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 26DEjRQc089192; Wed, 13 Jul 2022 14:45:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26DEjRZa089191; Wed, 13 Jul 2022 14:45:27 GMT (envelope-from git) Date: Wed, 13 Jul 2022 14:45:27 GMT Message-Id: <202207131445.26DEjRZa089191@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: =?utf-8?Q?Dag-Erling=20Sm=C3=B8rgrav?= Subject: git: 22220027e264 - stable/12 - Catch up with 2004 and improve markup. 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: des X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 22220027e26469e1d93ddc400ed519156e633b19 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657723527; 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=tUiqDEYDZcr/gfTCqGhalbLM8Qgpe4vPHUyogXSBJx0=; b=LI3V7IqlSKEYyUDVia6m1AM8BI0VXlpOMHZ2rRCdQEft94t71oLFa6LYInyW1xoqT5eM1J hsq73qyzKwwBiivIS2smVrMlLgi1KI/QlYPU1gIfftaksG5+BzFghYCMRPeFgLqByFTHr8 VWIgWZoWfUXEJd2yr7wQcQqJU6D3fyyGqy7+dBWInsUo4qTGrBoda2nKvIsBCGfpyX/V5j hDfGiS3CAMd+dIPzSUNvCviyxffIqBuC2KeFXFEQXj/C8iX70mAe9eN9a18Hc5CHZ5iZS6 dyAKXVSQTq2U5qxo+wt00yFIaUH+cmeD9JX7N2g+YiW50kKg8DYA2Y7I6YvK9Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657723527; a=rsa-sha256; cv=none; b=Hstg0p+OYi6YPfqWH3O2uD+Nve69hUcNEDmE9l0/QB+4MvgDUN+Qyh0Gb1UY5bnGJgKtK5 Yguc10r0aS+FsRamBOajjBLkDp2XD5xdJB4PAIcr0uu9XnEkQBaNakH5AZV76HDJiEWgEn vt2dMPPC4ItiwqeXP4r3JJ1476R69t6ZeVM6qXGldKlOzRH7aYGe1HdhU7+N4bal3GVaTe owX7G3726kdiQ+Tr5WrMI3YWYjqj6MuxutvxYEz1vLhrJNHr730NZZrsXJ9BwGlsdY+fH3 P9/0b5zpR545N/hlGaG/AcrLjgITin1MQp5C1LlqkIOfMZuMPBxTKtKmV5j/8w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=22220027e26469e1d93ddc400ed519156e633b19 commit 22220027e26469e1d93ddc400ed519156e633b19 Author: Dag-Erling Smørgrav AuthorDate: 2022-06-30 13:36:05 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2022-07-13 16:00:04 +0000 Catch up with 2004 and improve markup. Sponsored by: Juniper Networks, Inc. Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D35676 (cherry picked from commit 42db2dbbc51bffa90dc594f728976dcdb646c2b6) --- share/man/man9/VOP_STRATEGY.9 | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/share/man/man9/VOP_STRATEGY.9 b/share/man/man9/VOP_STRATEGY.9 index 1265fe50ebdb..6600b8e921d5 100644 --- a/share/man/man9/VOP_STRATEGY.9 +++ b/share/man/man9/VOP_STRATEGY.9 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 2, 2014 +.Dd June 30, 2022 .Dt VOP_STRATEGY 9 .Os .Sh NAME @@ -36,6 +36,7 @@ .Nd read or write a file system buffer .Sh SYNOPSIS .In sys/param.h +.In sys/buf.h .In sys/vnode.h .Ft int .Fn VOP_STRATEGY "struct vnode *vp" "struct buf *bp" @@ -49,14 +50,22 @@ The buffer to be read or written. .El .Pp This call either reads or writes data from a file, depending on the value of -.Fa bp->b_io.bio_cmd . +.Fa bp->b_iocmd . .Pp The call may block. .Sh RETURN VALUES Always zero. -Errors should be signalled by setting BIO_ERROR on b_ioflags field in struct buf, -and setting b_error to the appropriate errno value. +Errors should be signalled by setting the +.Dv BIO_ERROR +bit in +.Fa bp->b_ioflags +and setting +.Fa bp->b_error +to the appropriate +.Va errno +value. .Sh SEE ALSO +.Xr errno 2 , .Xr buf 9 , .Xr vnode 9 .Sh AUTHORS