git: d0b41249bfbe - main - bufwrite(): adjust the comment

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Wed, 13 Nov 2024 19:35:45 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=d0b41249bfbe4481baec8f1659468ffbb30388ab

commit d0b41249bfbe4481baec8f1659468ffbb30388ab
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-11-12 06:24:03 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-11-13 19:35:02 +0000

    bufwrite(): adjust the comment
    
    The statement about 'do not deadlock there' is false, since this write
    might need other writes to finish, which cannot be started due to
    runningbufspace.
    
    PR:     282449
    Reviewed by:    markj
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
---
 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 3ef715baebfa..62b0567f269a 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -2375,11 +2375,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();