Bug 191236

Summary: [tests] stress2's gbde.sh test scenario deadlocks
Product: Base System Reporter: Peter Holm <pho>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: bdrewery
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Peter Holm freebsd_committer freebsd_triage 2014-06-21 09:07:51 UTC
On FreeBSD 11.0-CURRENT #0 r267672: Fri Jun 20 14:41:08 CEST 2014
pho@t1.osted.lan:/usr/src/sys/amd64/compile/PHO amd64 running the gbde.sh stress2 test repeatedly results in a deadlock. Details at http://people.freebsd.org/~pho/stress/log/gbde2.txt
Comment 1 Bryan Drewery freebsd_committer freebsd_triage 2014-07-08 17:32:48 UTC
It seems that the problem may be related to a slow g_bde_purge_sector() holding onto the g_bde_worklist which is the same one that IO requests wait on to queue new work. Thus any slowness in the worker thread will slow down and block the queueing of new work.
Comment 2 Peter Holm freebsd_committer freebsd_triage 2019-02-11 15:53:39 UTC
I am not seeing this problem any more.