When writing out bitmap buffers, need to skip over ones that already
have a write in progress. Otherwise one can get in an infinite loop trying to get them all flushed. Submitted by: Matthew Dillon <dillon@apollo.backplane.com>
This commit is contained in:
parent
e606666d7b
commit
4434ff1d38
@ -3817,7 +3817,8 @@ softdep_fsync_mountdev(vp)
|
||||
* dependencies.
|
||||
*/
|
||||
if ((wk = LIST_FIRST(&bp->b_dep)) == NULL ||
|
||||
wk->wk_type != D_BMSAFEMAP) {
|
||||
wk->wk_type != D_BMSAFEMAP ||
|
||||
(bp->b_xflags & BX_BKGRDINPROG)) {
|
||||
BUF_UNLOCK(bp);
|
||||
continue;
|
||||
}
|
||||
|
@ -3817,7 +3817,8 @@ softdep_fsync_mountdev(vp)
|
||||
* dependencies.
|
||||
*/
|
||||
if ((wk = LIST_FIRST(&bp->b_dep)) == NULL ||
|
||||
wk->wk_type != D_BMSAFEMAP) {
|
||||
wk->wk_type != D_BMSAFEMAP ||
|
||||
(bp->b_xflags & BX_BKGRDINPROG)) {
|
||||
BUF_UNLOCK(bp);
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user