tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: tstile syndrome



On Sun, Aug 30, 2009 at 08:17:07AM +0000, David Holland wrote:
> On Thu, Aug 27, 2009 at 03:00:11PM +0200, Manuel Bouyer wrote:
>  > Any idea on how to fix this ?
> 
> Can you disassemble or whatever and work out which of the vn_lock
> calls in ufs_wapbl_rename is the one that's deadlocking?

From the second trace I posted (the one from the i386 test box), that
would be:
(gdb) l *(wapbl_ufs_rename+0x61b)
0xc02a42cb is in wapbl_ufs_rename 
(/home/src/src-5/src/sys/ufs/ufs/ufs_wapbl.c:352).
347                     if (fdvp == tvp) {
348                             error = doingdirectory ? ENOTEMPTY : EISDIR;
349                             goto out;
350                     }
351                     vn_lock(fdvp, LK_EXCLUSIVE | LK_RETRY);
352                     if ((error = relookup(fdvp, &fvp, fcnp))) {
353                             vput(fdvp);
354                             vrele(ap->a_fvp);
355                             goto out2;
356                     }

This matches what I get using the stack trace from the amd64 server
on which I first noticed this.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index