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

Pawel Jakub Dawidek nick at garage.freebsd.pl
Thu Jul 24 07:27:40 PDT 2003


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030724/41d8ff4f/attachment.bin


More information about the freebsd-current mailing list