Searched hist:211213 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/kern/
H A Dvfs_bio.cdiff 211213 Thu Aug 12 06:39:42 MDT 2010 kib The buffers b_vflags field is not always properly protected by
bufobj lock. If b_bufobj is not NULL, then bufobj lock should be
held when manipulating the flags. Not doing this sometimes leaves
BV_BKGRDINPROG to be erronously set, causing softdep' getdirtybuf() to
stuck indefinitely in "getbuf" sleep, waiting for background write to
finish which is not actually performed.

Add BO_LOCK() in the cases where it was missed.

In collaboration with: pho
Tested by: bz
Reviewed by: jeff
MFC after: 1 month

Completed in 173 milliseconds