From nobody Tue Nov 04 04:11:58 2025 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 4d0w5C0b2Wz653Ww; Tue, 04 Nov 2025 04:11:59 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d0w5B5gprz4HZ0; Tue, 04 Nov 2025 04:11:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762229518; 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=nz2Pw+v/DKCXr8kylTWUIg/0Jsi+kYVD6vM1dQ8z40o=; b=iL4L+shwRRdSc0QBCWIsTYsNXgNlh8/S+guYLHHa7Hwq3LOVn+2spojQQ5dkLUN50IEKU6 2u9ljt01iRs2k3xOe8TnmHG3Q+dZJs0cpQ5y3HzVGItlb7/+G6l2Dvj3JqcaFG6tWUrNHi cktBERWo8aCjl4RSrBaoq0ubxTdMpeVhSFLvbMx40bYExNeFIpkSXPi9V6ek61gOCjqLKr YPlTgd4krOc8eUCf+k5FlumMw+Qj4yB9cmedKyKLrBsWSPPDt+s21dQMVVsRPZv2pSx5wr GIPJ7FzzzZwBfoGK9flCvwfq/jwmG4Tu6SnhtX7oqxqOWwhbtQmKtr7MkkbDKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762229518; 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=nz2Pw+v/DKCXr8kylTWUIg/0Jsi+kYVD6vM1dQ8z40o=; b=E2y5bT+ivWodskee6n8kXc/cZOx7lElrx2QT9PVWQ8hgoAvrb5rCyFZ383AyYsX+oect/R 7jVVADavLV/hoFbGGCVQWEP3+4pYAenSLjiZJ+cwdrAf8ppBTE9+nsAFIFMmcGUYcFekOX 4rBosl6M8AvLVL1AZ90n2+TiFPNASr00Zi67h0FiZ/GapSSetpwDh5kF8AZKD4MXnkQqHm M4I6sMyXd/zDNUSTlP7+vUslR54I0V6WyLu9+oyxURRjEMc87kzbtoRCH3yJQXNK4owAP3 w84lvHZnYagXcDsKO/aQWUW98q3fljskSQufQ1K6/7GcYc5dfy6cwvfMDupAzg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1762229518; a=rsa-sha256; cv=none; b=SLdmG3SCjdPrBkjjU4VBUtAIZt5CnLRh3Yv0UmUtNT+5nqh0GJ9ZWFu6nAjUUtNRwE9gM+ PJrbvSiPcyKMdqzX1X9+NSyle/k/SOQeJXX8eNU5OvP8Ov1Bqo9mr6osqHjQo0xz27TxNv FJ3Bik1yc8007MBubR8G+WB3cFeAaEjHdSwSblUNgHSA1Il5DK3QoUX2aLN0wVonKcKWLd hz+pAAVRvz8ya8Q0rpxVYqttdzU21V10A5OzEqGGsy8XbZrX+GpSCQgKjXUCMqVVVBrl3u R7nPzsoSPkOccXbR2lyoCOEVFQZvA1Tuh/PwsOaZHyfuwXObeEgsX997CIa29A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4d0w5B56NRzj0R; Tue, 04 Nov 2025 04:11:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5A44Bw3D034670; Tue, 4 Nov 2025 04:11:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5A44BwsX034667; Tue, 4 Nov 2025 04:11:58 GMT (envelope-from git) Date: Tue, 4 Nov 2025 04:11:58 GMT Message-Id: <202511040411.5A44BwsX034667@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 515fa5ff2e4d - main - geom/geom_vfs.c: use EXTERROR_KE() in g_vfs_strategy for ENXIOs 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 515fa5ff2e4db907379c284fb7e7df77b4096948 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=515fa5ff2e4db907379c284fb7e7df77b4096948 commit 515fa5ff2e4db907379c284fb7e7df77b4096948 Author: Konstantin Belousov AuthorDate: 2025-10-25 09:17:02 +0000 Commit: Konstantin Belousov CommitDate: 2025-11-04 04:11:12 +0000 geom/geom_vfs.c: use EXTERROR_KE() in g_vfs_strategy for ENXIOs As an example of use for the bp_exterr infrastructure. Reviewed by: mckusick Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D53351 --- sys/geom/geom_vfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/geom/geom_vfs.c b/sys/geom/geom_vfs.c index f074ac43d245..122e2f6a02ec 100644 --- a/sys/geom/geom_vfs.c +++ b/sys/geom/geom_vfs.c @@ -200,6 +200,8 @@ g_vfs_strategy(struct bufobj *bo, struct buf *bp) mtx_unlock(&sc->sc_mtx); bp->b_error = ENXIO; bp->b_ioflags |= BIO_ERROR; + EXTERROR_KE(&bp->b_exterr, ENXIO, + "orphaned or enxio active"); bufdone(bp); return; }