NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/60531 CVS commit: src/sys/kern



The following reply was made to PR kern/60531; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60531 CVS commit: src/sys/kern
Date: Thu, 6 Aug 2026 22:28:24 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Thu Aug  6 22:28:23 UTC 2026
 
 Modified Files:
 	src/sys/kern: vfs_subr.c
 
 Log Message:
 vflushbuf: Print `vflushbuf: dirty' warning only once per call.
 
 And do it only under DEBUG, and rate-limit it globally.
 
 This can happen when vflushbuf is competing with an onslaught of
 concurrent I/O on a snapshot or block device (which is done without
 holding the vnode lock, despite what the comment says).  That
 concurrent I/O might be happening indefinitely, so we are likely to
 have to print a _lot_ of warnings, potentially overwhelming the
 console, until the underlying problem is fixed by teaching vflushbuf
 to wait only for the writes that began before have completed, not
 also all writes that have begun since.
 
 This stop-gap measure intended to be low-risk for pullup to release
 branches.
 
 PR kern/60531: looping "vflushbuf: dirty" message
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.503 -r1.504 src/sys/kern/vfs_subr.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 



Home | Main Index | Thread Index | Old Index