Bug #2501

UFS panic: assertion "lock_held(&lk)" failed in worklist_remove

Added by swildner over 3 years ago. Updated over 3 years ago.

Status:ClosedStart date:01/27/2013
Priority:NormalDue date:
Assignee:vsrinivas% Done:


Target version:-


Just got this when (I _think_) the box was removing a larger tree in /usr/obj.

core.txt is here:

Full dump is in ~swildner/crash/crash21.txz on leaf.


ffs_softdep.diff.6 (2.29 KB) vsrinivas, 01/29/2013 05:43 PM


#1 Updated by swildner over 3 years ago

I should add that this is a i386 box.

#2 Updated by vsrinivas over 3 years ago

softdep was failing to take its lock when entering process_workitem via
request_cleanup from newdirrem.

Could you please try the attached patch?

-- vs;

#3 Updated by swildner over 3 years ago

  • Status changed from New to Closed

Closing this for now, since with Venkatesh's fix (9d106dfa699e433e63b3876290375371060b91f9) the panic no longer occurs under these conditions.

Also available in: Atom PDF