mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 00:33:57 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56908
|
@ -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…
Reference in a new issue