DragonFly bugs List (threaded) for 2012-08
[DragonFlyBSD - Bug #2374] softupdates locking bug
Issue #2374 has been updated by Venkatesh Srinivas.
Some hours of fsstress testing hit a deadlock w/ softdep and the patch; I haven't been able to root case it, but here are some hints:
1) the syncer (syncer0) is waiting for vnlru to make progress; its backtrace is:
*_ WE DO NOT HOLD THE SOFTDEP LOCK AROUND VFS_VGET _*
2) vnlru is not making progress; it is trying to lock a buffer associated with UFS, its backtrace is:
3) The buffer in question is a BUF_CMD_WRITE buffer, its lock is marked by LK_KERNTHREAD, and is a softdep buffer (seen via b_ops being the softdep bioops). The vnode associated with the buffer is held locked by the vnlru thread. I think these are the buffer's flags : B_CACHE|B_HASHED|B_BNOCLIP|B_IODEBUG|B_VNCLEAN|B_VMIO
Bug #2374: softupdates locking bug
Author: Venkatesh Srinivas
softupdates may still have some locking issues:
Panic where softdep_update_inodeblock() called bwrite() with a NULL buffer
getdirtybuf returned 'gotit', yet it either returned a NULL bp or the buffer was nulled after
it was saved in the inodedep structure. getdirtybuf can block and does release the softdep
lock while locking dirty buffers, but it is not clear if anyone can race in and result in the failure mode seen.
* (from 3.0.3 catchall bug (2336)):
Deadlock in -master with softdep. No more details available.
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account