From nobody Mon Jul 11 20:25:03 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 8701A17FE224; Mon, 11 Jul 2022 20:25:03 +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 4Lhb3M1Vwsz3q1T; Mon, 11 Jul 2022 20:25:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657571103; 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=9morZZAVGuTi9mk3H9fF2QiNBL3+5F0C+G73V6rUsgc=; b=i+nVO8vqCHITMfXt7fTiuu2Ow5gMNNtPNDjGxDNIhY7IAxHdmZBqvB/dK3mIJDhqXoP/UH MyJsyBufu7XLDPDykNGLYighkUBBQ9LZc38Gtz0KrE4ZNO+qc3Ii0rPJ09d5mB9qgOgGms lYmP0C+nf7U4JhZTPzGk7b0hnH1/gBZ9FFZQEueHHGrU2Gn1xg//M1B/WA2g9SYdyZPiZk clPPugo5TPjiX+R7Wcnk34XFmmOpSh92iu86wSXEg7FrdS4O5xeEdKllFmjB5Cvm93LPPi XA/ywi37yZV640iKAMtQC7yQNTxx36ZI/dEHvgFxm7OoBNhS6z/nBSSn3qpyKQ== 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 4Lhb3M0Yr2zGwr; Mon, 11 Jul 2022 20:25:03 +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 26BKP300044031; Mon, 11 Jul 2022 20:25:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26BKP3fJ044030; Mon, 11 Jul 2022 20:25:03 GMT (envelope-from git) Date: Mon, 11 Jul 2022 20:25:03 GMT Message-Id: <202207112025.26BKP3fJ044030@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: 625bc476c69d - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 625bc476c69dee80ff0672f5d8271afe14b233eb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657571103; 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=9morZZAVGuTi9mk3H9fF2QiNBL3+5F0C+G73V6rUsgc=; b=OYXNl318Urx3TOsuJ/b6o2ECwUNo/lj26qZWR6XWcl4XilEp+7l33O7Id1TVYISIt1ZwON 8b/KmDYFcHJFiEFoslqnMjDQvZdB0nEn6BN/MtBvHu3+vT2FoHuyWRFaPlIXAKn6aBNw3D jwTOLRp1c3nMHrdUELPn/nqJZUyJYfVQGEtYJtFAr6/ITy4qq2cV0Nr+n/FwckxFgbMz4z kDQHALkwceW5iuLfcGsifYYWQAdeF5mMuc00IMySAjHwcI/K0bWfP6Nvpp9ZA1E1dR4B+6 38uloVPThd1MqpzHYuE9dOTuT5UFzuWFs531SIuiyroVd5b955ADN258cyaYNQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657571103; a=rsa-sha256; cv=none; b=jKhIiMdKOMJNtX8Yy2NmjGh4sdyzVRjDIVtEoq1z2v2pebfLN49WnTdLdDv1A92jzGfTUN +KJEBcO3DDQ9j0mIXadtR+RIYZ5CW+ryjfM2GCDrroHhaMZ4x0aEMHONUt5+f6Fau9P3tO WeYa2f3eeKBYwqlS3YPlymp2W9IJQie0HgqKkJA9dwt+TJLsv/lu3izUfs222vRJBT3YOZ hFfOzJIOvJNx2GLpdvvd05cVfYBpbfM4/SyzAnnEEeMEqqOtMVdpFOaS4fSr8+fzNAM023 gad9xbtVaqTFRezGOkWYRlJkZlVcpHz5S6Kr3qTMmm7pp5gMGk63cXfCmxABTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=625bc476c69dee80ff0672f5d8271afe14b233eb commit 625bc476c69dee80ff0672f5d8271afe14b233eb Author: Dag-Erling Smørgrav AuthorDate: 2022-06-30 13:36:05 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2022-07-11 21:44:54 +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