In brelse, put the B_NEEDSGIANT buffer on the QUEUE_DIRTY_GIANT queue,

instead of QUEUE_DIRTY.

Tested by:	pho
Reviewed by:	attilio
MFC after:	3 days
This commit is contained in:
Konstantin Belousov 2008-08-19 11:31:49 +00:00
parent ecded8075f
commit 2bb4c6f922
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181868

View file

@ -1353,7 +1353,7 @@ brelse(struct buf *bp)
if ((bp->b_flags & (B_DELWRI|B_NEEDSGIANT)) ==
(B_DELWRI|B_NEEDSGIANT))
bp->b_qindex = QUEUE_DIRTY_GIANT;
if (bp->b_flags & B_DELWRI)
else if (bp->b_flags & B_DELWRI)
bp->b_qindex = QUEUE_DIRTY;
else
bp->b_qindex = QUEUE_CLEAN;