CVS commit: src/sys/kern
"Taylor R Campbell" <[email protected]> Thu, 6 Aug 2026 22:28:24 +0000
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
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.