Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 2026 11:39:26 +0800
From:      Zhenlei Huang <zlei@FreeBSD.org>
To:        "Jonathan T. Looney" <jtl@freebsd.org>
Cc:        FreeBSD Current <current@freebsd.org>
Subject:   Re: Heads up: New WITNESS output
Message-ID:  <93A15E94-C5FD-44B2-858E-595E9188A530@FreeBSD.org>
In-Reply-To: <CADrOrmvCD3NT4iOYK5S63kXJLT1M_BBVWT5dyW5rd2LUxeyx3A@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]


> 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 <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


[-- Attachment #2 --]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jan 27, 2026, at 4:33 AM, Jonathan T. Looney &lt;<a href="mailto:jtl@freebsd.org" class="">jtl@freebsd.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Folks,<div class=""><br class=""></div><div class="">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).</div><div class=""><br class=""></div><div class="">An example of the new output is in the review request (<a href="https://reviews.freebsd.org/D54785" class="">https://reviews.freebsd.org/D54785</a>).</div><div class=""><br class=""></div><div class="">If you want to restore the old behavior, you can set the&nbsp;debug.witness.trace sysctl/tunable to 1.</div><div class=""><br class=""></div><div class="">In the meantime, please let me know if you run into any trouble with the new functionality.</div><div class=""><br class=""></div><div class="">Jonathan</div></div>
</div></blockquote><br class=""></div><div>Hi Jonathan,</div><div><br class=""></div><div>That is a nice feature. I have been confused by the LOR report for&nbsp;<span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">many times.&nbsp;</span>Thanks for your work !</div><br class=""><div class="">
<div>Best regards,</div><div>Zhenlei</div>

</div>
<br class=""></body></html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?93A15E94-C5FD-44B2-858E-595E9188A530>