mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Need to reset the buffer pointer to avoid reconsidering the same buffer
again (without this the rollback analysis was being lost). Should reduce the write count for most workloads. Submitted by: Craig A Soules <soules+@andrew.cmu.edu>
This commit is contained in:
parent
61de98348a
commit
71c87cfd7e
1 changed files with 1 additions and 0 deletions
|
|
@ -1907,6 +1907,7 @@ flushbufqueues(void)
|
|||
TAILQ_INSERT_TAIL(&bufqueues[QUEUE_DIRTY],
|
||||
bp, b_freelist);
|
||||
bp->b_flags |= B_DEFERRED;
|
||||
bp = TAILQ_FIRST(&bufqueues[QUEUE_DIRTY]);
|
||||
continue;
|
||||
}
|
||||
vfs_bio_awrite(bp);
|
||||
|
|
|
|||
Loading…
Reference in a new issue