From nobody Tue Jan 27 03:39:26 2026 X-Original-To: current@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 4f0WP16tJyz6Q7T3 for ; Tue, 27 Jan 2026 03:39:33 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f0WP1600dz3xg8; Tue, 27 Jan 2026 03:39:33 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769485173; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JDKZwUkKbO2yNbLaicm9I8RmfGxepgBvMBe8/MINYaM=; b=w8hwArvsVBzgmX+/ttJi59ZRvcjgqomzNL9z+HF3X2yv3MNhEQDXNk75rOaqQXUhhaWiAJ noRrAcAPWYqO3dC/v9FbPu7pK8Eo8Ybjnm2UUsDgaa0WBEAxCNZghkvtDQy8zFe4+3ANhZ fD8AFwCvfW5hPe1KGKX9Awqbo95C8KO6QwE1dJQFiZ0vks0YNdWXFVj7TMuaGxFN9lvi3E FjU2K4zRaJYBlUrKSZIt0YiGqvoRSg3JuvCbots4FXt7VqUG5aAufZgmdGZr7dqN/V6H00 a5KuCjSu86YXb8i2LfKJOl6eClWsXd64+S3VCe5L/yYG+1WNxvWmgUDSfTFxdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769485173; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JDKZwUkKbO2yNbLaicm9I8RmfGxepgBvMBe8/MINYaM=; b=jT7ZFTLorcozI9V3AT4tzTMWvKCbE6X/kbMEx9uPSkDp7pbXaNjZFitoXjKXwp6yS+z91e 8rFOyp/vabgwWoz0dscgIwXaSJCyQH5U7VzYoA8w4nrSKjv71VL8sfebRhkHtqMsu5U/j2 AG/AFYRyP0kEbXC3D5szTc3SPc9ksuB9hSjMZZeT1w48VpIAYMrel8RVyDs3i9me+SO+SQ 48/FEcU7BniCOfNR1p3Wvu/Xib2+BO6jBHPXIeNHKE/UpWNt+AoVZJetjCyCE+fGj7aE1f Y8bjrkKgS8ubtg8dGBZRiRAEzjbWqhtimXJIARkos+p91+UuhYSLwRGQZit2dA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1769485173; a=rsa-sha256; cv=none; b=bv4v1ptAfiWVdChC8Sb5qc03URQIcPZkoKY0kv67Owt4iaFx92/Wb3lHHMg6au0YdHkds8 Lgw6rXPKpbDwK44mBSZkBtbYJ8p5vkTNlmmC9hk5gJj50jpdEroLEsq23W17VsDegCsBbt 32sRLxiOuFp6S93Ig1UF+IzkHFHXy+pKJ0XTVS6tMkLwyKy7cJol0hETIaMIExvJCQdURV FQHdux3Yq1HKFBCREmVjUX/cLwk0zpMy5HpdID1lLu4hHK2tRhg/g6Wz3z3KEZF73K1faO tp9Mupb9PmHpMZtwFinZ4LH3awhHUu2z5bpQRaXOyg2gzvQmVmjstzG0fnooVg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from smtpclient.apple (unknown [45.32.91.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4f0WP06kx2z1QHq; Tue, 27 Jan 2026 03:39:32 +0000 (UTC) (envelope-from zlei@FreeBSD.org) From: Zhenlei Huang Message-Id: <93A15E94-C5FD-44B2-858E-595E9188A530@FreeBSD.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_5892096E-2097-4403-975B-124F6878A8A7" List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.10\)) Subject: Re: Heads up: New WITNESS output Date: Tue, 27 Jan 2026 11:39:26 +0800 In-Reply-To: Cc: FreeBSD Current To: "Jonathan T. Looney" References: X-Mailer: Apple Mail (2.3696.120.41.1.10) --Apple-Mail=_5892096E-2097-4403-975B-124F6878A8A7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jan 27, 2026, at 4:33 AM, Jonathan T. Looney = wrote: >=20 > Hi Folks, >=20 > As a heads-up, I just committed a change to the WITNESS output. It = will now print more detailed information when a lock ordering was = established through a chain of locks (e.g. lock1 is locked before lock2, = lock2 is locked before lock3; therefore, locking lock3 before lock1 is a = LOR). >=20 > An example of the new output is in the review request = (https://reviews.freebsd.org/D54785 = ). >=20 > If you want to restore the old behavior, you can set the = debug.witness.trace sysctl/tunable to 1. >=20 > In the meantime, please let me know if you run into any trouble with = the new functionality. >=20 > Jonathan Hi Jonathan, That is a nice feature. I have been confused by the LOR report for many = times. Thanks for your work ! Best regards, Zhenlei --Apple-Mail=_5892096E-2097-4403-975B-124F6878A8A7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On Jan 27, 2026, at 4:33 AM, Jonathan T. Looney <jtl@freebsd.org> = wrote:

Hi Folks,

As a heads-up, I just committed a change to the WITNESS = output. It will now print more detailed information when a lock ordering = was established through a chain of locks (e.g. lock1 is locked before = lock2, lock2 is locked before lock3; therefore, locking lock3 before = lock1 is a LOR).

An example of the new output is in the review request (https://reviews.freebsd.org/D54785).

If you want to restore = the old behavior, you can set the debug.witness.trace = sysctl/tunable to 1.

In the meantime, please let me know if you run into any = trouble with the new functionality.

Jonathan

Hi Jonathan,

That is a nice feature. I have been confused by = the LOR report for many times. Thanks for your work = !

Best regards,
Zhenlei

= --Apple-Mail=_5892096E-2097-4403-975B-124F6878A8A7--