kib ade28bdd40 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
2010-08-12 08:36:23 +00:00
..
2010-08-07 10:23:54 +00:00
2010-08-06 23:11:19 +00:00
2010-07-23 11:00:46 +00:00
2010-07-12 10:18:10 +00:00
2010-06-02 17:27:23 +00:00
2010-08-02 22:26:08 +00:00
2010-05-24 16:27:47 +00:00
2010-08-11 16:53:45 +00:00