Re: File system deadlock. GBDE(4) and/or MD(4) related.

From: Pawel Jakub Dawidek <nick_at_garage.freebsd.pl>
Date: Thu, 24 Jul 2003 16:28:14 +0200
On Thu, Jul 24, 2003 at 03:57:07PM +0200, Pawel Jakub Dawidek wrote:
+> I've found deadlock in gbde(4) and/or md(4).

Yes, it is gbde fault:

db> show lockedvnods
[...]
0xc3332920: tag ufs, type VREG, usecount 1, writecount 0, refcount 21, flags (VV_OBJBUF), lock type
ufs: EXCL (count 1) by thread 0xc2ca5000
        ino 8214, on dev md0.bde (4, 23)
0xc33325b4: tag ufs, type VREG, usecount 2, writecount 1, refcount 25, flags (VV_OBJBUF), lock type
ufs: EXCL (count 1) by thread 0xc2ec3980
        ino 8217, on dev md0.bde (4, 23)
[...]

Look at refcounts.

-- 
Pawel Jakub Dawidek                       pawel_at_dawidek.net
UNIX Systems Programmer/Administrator     http://garage.freebsd.pl
Am I Evil? Yes, I Am!                     http://cerber.sourceforge.net

Received on Thu Jul 24 2003 - 05:27:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:16 UTC