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:
parent
ecded8075f
commit
2bb4c6f922
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user