git: ff7de7aa49fa - stable/14 - bufwrite(): adjust the comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Nov 2024 01:41:23 UTC
The branch stable/14 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=ff7de7aa49fa095ec006c81299845e1bac5d5335
commit ff7de7aa49fa095ec006c81299845e1bac5d5335
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-11-12 06:24:03 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-11-16 01:07:33 +0000
bufwrite(): adjust the comment
PR: 282449
(cherry picked from commit d0b41249bfbe4481baec8f1659468ffbb30388ab)
---
sys/kern/vfs_bio.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 7b483b003cac..c15e2c99fead 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -2370,11 +2370,9 @@ bufwrite(struct buf *bp)
} else if (space > hirunningspace) {
/*
* Don't allow the async write to saturate the I/O
- * system. We will not deadlock here because
- * we are blocking waiting for I/O that is already in-progress
- * to complete. We do not block here if it is the update
- * or syncer daemon trying to clean up as that can lead
- * to deadlock.
+ * system. We do not block here if it is the update
+ * or syncer daemon trying to clean up as that can
+ * lead to deadlock.
*/
if ((curthread->td_pflags & TDP_NORUNNINGBUF) == 0 && !vp_md)
waitrunningbufspace();