Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Feb 2022 23:21:53 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e3d92d4cb811 - main - cam iosched: Update comment for when we schedule writes.
Message-ID:  <202202232321.21NNLrr5044768@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

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

commit e3d92d4cb811006688bb18ba35bfbe6e1f119893
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-02-23 23:21:27 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-02-23 23:21:27 +0000

    cam iosched: Update comment for when we schedule writes.
    
    Sponsored by:           Netflix
---
 sys/cam/cam_iosched.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys/cam/cam_iosched.c b/sys/cam/cam_iosched.c
index 4d584dc160a3..5b5e375cc8e2 100644
--- a/sys/cam/cam_iosched.c
+++ b/sys/cam/cam_iosched.c
@@ -1518,8 +1518,9 @@ cam_iosched_next_bio(struct cam_iosched_softc *isc)
 
 #ifdef CAM_IOSCHED_DYNAMIC
 	/*
-	 * See if we have any pending writes, and room in the queue for them,
-	 * and if so, those are next.
+	 * See if we have any pending writes, room in the queue for them,
+	 * and no pending reads (unless we've scheduled too many).
+	 * if so, those are next.
 	 */
 	if (do_dynamic_iosched) {
 		if ((bp = cam_iosched_get_write(isc)) != NULL)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202232321.21NNLrr5044768>