From owner-freebsd-hackers@freebsd.org Thu Dec 24 08:56:20 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D3605A51ADE for ; Thu, 24 Dec 2015 08:56:20 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8F28C1887 for ; Thu, 24 Dec 2015 08:56:20 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from chamsa.cs.huji.ac.il ([132.65.80.19]) by kabab.cs.huji.ac.il with esmtp id 1aC1gv-0008MC-Kp; Thu, 24 Dec 2015 10:56:09 +0200 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Should DEBUG_VFS_LOCKS messages be reported as bugs? From: Daniel Braniss In-Reply-To: <567BA189.8080405@rawbw.com> Date: Thu, 24 Dec 2015 10:56:09 +0200 Cc: Freebsd hackers list , Rick Macklem Content-Transfer-Encoding: quoted-printable Message-Id: References: <567791E9.50207@rawbw.com> <56779542.8020205@rawbw.com> <1331010544.139156804.1450706805234.JavaMail.zimbra@uoguelph.ca> <567B4E08.1000204@rawbw.com> <2B571D55-0B24-4E75-AA5B-4CCF9D3B8CD5@cs.huji.ac.il> <567BA189.8080405@rawbw.com> To: Yuri X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2015 08:56:20 -0000 > On 24 Dec 2015, at 09:40, Yuri wrote: >=20 > On 12/23/2015 23:10, Daniel Braniss wrote: >> I just turned off WITNESS/INVARIANTS:-) >> the only complain I get is when I do a mountd restart, but it=E2=80=99s= harmless. >=20 > Which OS version? I get the messages on 10.2-STABLE with options from = my OP. >=20 > Endless messages like this: > Dec 23 17:59:36 yuri kernel: KDB: stack backtrace: > Dec 23 17:59:36 yuri kernel: #0 0xffffffff8097c810 at = kdb_backtrace+0x60 > Dec 23 17:59:36 yuri kernel: #1 0xffffffff809eae7e at = assert_vop_elocked+0x6e > Dec 23 17:59:36 yuri kernel: #2 0xffffffff809ea6b1 at insmntque1+0x41 > Dec 23 17:59:36 yuri kernel: #3 0xffffffff82e202a1 at = unionfs_nodeget+0x281 > Dec 23 17:59:36 yuri kernel: #4 0xffffffff82e23b06 at = unionfs_lookup+0x726 > Dec 23 17:59:36 yuri kernel: #5 0xffffffff80e7776f at = VOP_CACHEDLOOKUP_APV+0x10f > Dec 23 17:59:36 yuri kernel: #6 0xffffffff809d92b6 at = vfs_cache_lookup+0xd6 > Dec 23 17:59:36 yuri kernel: #7 0xffffffff80e775af at = VOP_LOOKUP_APV+0x10f > Dec 23 17:59:36 yuri kernel: #8 0xffffffff809e1892 at lookup+0x5c2 > Dec 23 17:59:36 yuri kernel: #9 0xffffffff809e0fb4 at namei+0x4e4 > Dec 23 17:59:36 yuri kernel: #10 0xffffffff809f683e at = kern_statat_vnhook+0xae > Dec 23 17:59:36 yuri kernel: #11 0xffffffff809f66cd at sys_stat+0x2d > Dec 23 17:59:36 yuri kernel: #12 0xffffffff80d4fff4 at = amd64_syscall+0x2c4 > Dec 23 17:59:36 yuri kernel: #13 0xffffffff80d339db at = Xfast_syscall+0xfb > Dec 23 17:59:36 yuri kernel: insmntque: non-locked vp: = 0xfffff80046d233b0 is not exclusive locked but should be >=20 > Yuri i have been using unionfs since it appeared, and on 10.2-stable, but i = don=E2=80=99t have WITNESS on. BTW, it=E2=80=99s very slow if you turn WITNESS on, and so should only = be used for debugging, and in some cases, the code actually works only if WITNESS is on :-( danny