From nobody Fri Jul 01 12:31:24 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 322B28B70FB; Fri, 1 Jul 2022 12:31:25 +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 4LZF1T0vcjz3tDB; Fri, 1 Jul 2022 12:31:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656678685; 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=+Q09HDMBoQhuzaQXjScV47u822L5lhap8F81jloVvNU=; b=v6vuqnImBrbZ4WCGpFx53zkdnY48h579X8Fa1Q4cPCpVzK8jOtjg0nm/Cxo/N4Wv/pfpiP FayqYXjxoHZdIJixRzoTsKrjbINDuO8rzIRLNMDyWIaVO/V6+DS/NzSWlzZZXv+aOOh2cw u/t3Z1Y7hbjT18M774BfBh6go8z3toct8AMWqLjLzTQTIUD+eN9qzd5K2P5+DOVZMkMeQj jhnWleIcdP0eYeyde4UgeZ/ne83Uv47/A2wawV8nFmHIb6cQc0PxCTpuNrEnayNj9sViSt jYdi1hA9zdr2Q6OcDIkhRC5Hxh97sYy9OyIrhHqRDIhEUITdaFjeM5OdM8RJLg== 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 009091B69B; Fri, 1 Jul 2022 12:31:25 +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 261CVOWW064790; Fri, 1 Jul 2022 12:31:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 261CVO8e064789; Fri, 1 Jul 2022 12:31:24 GMT (envelope-from git) Date: Fri, 1 Jul 2022 12:31:24 GMT Message-Id: <202207011231.261CVO8e064789@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Dag-Erling=20Sm=C3=B8rgrav?= Subject: git: 42db2dbbc51b - main - Catch up with 2004 and improve markup. 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: des X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 42db2dbbc51bffa90dc594f728976dcdb646c2b6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656678685; 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=+Q09HDMBoQhuzaQXjScV47u822L5lhap8F81jloVvNU=; b=fGKyTZsHcNSeA2J9JQa4ZsBc5A3wEkuU+S8BYR6rXXwLzEMlNBF6R/YLSognwgHugEqCka YzH8wc+JIIAxM/jj8Tir7ky3oIJroXMX+aQCtSlh9MDWOVyiVrfO2UGGZz4IHuWU8Uwa4+ hFE/N+yFuJsc5x6hlJ7eIUV9y2Ck9avV9mwhpJBtyQZodJPDQu6K8ltoASrdZgEDfsKJ3K 8yi300XD+tJuRbxMcDZO9Q3hyGJuF6Ev9ij2Yi9q/aO/3HGE1AayLYC9i4/I/L9RJ96Q6S 9cWqzq1t63TRSaFwN5qwNFj9tEl6esb2HjOxd4YbV+VkduFe1y1G/xlPlm0KMw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656678685; a=rsa-sha256; cv=none; b=phqqVCQuG9RapoIXQBctE2a16tBfS4DsX/R1KAEim6727z7XLGbKOw6M0Gxcfc8GIEmkBM FesfKLcYtsgRJqtZFWsVJXmQzK7jD+3wzX69HflqkNiYhG8Qzbh6rVc0JpsOs3Sys6BDwy 6t4BeocYHTSIhiULdrBYdnnpNFb5J6fD2e3jTfG/S423gcbEaeoWW7RrZta8b93rHZhMjx 6+fBpG8fP8Zpd2iD9p8cQrbAvWSs4VECNqJWbEMCVsizJfeD4yY2En+XIBjVp/W8uEdywt SJgRqzTvj1/n9TUK2xd1mxLeXXEOegQ3bAJ1Yz4AKc8Y8w5q7Pzd6g8keLu6Eg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=42db2dbbc51bffa90dc594f728976dcdb646c2b6 commit 42db2dbbc51bffa90dc594f728976dcdb646c2b6 Author: Dag-Erling Smørgrav AuthorDate: 2022-06-30 13:36:05 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2022-07-01 12:29:04 +0000 Catch up with 2004 and improve markup. Sponsored by: Juniper Networks, Inc. Sponsored by: Klara, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D35676 --- 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