cam iosched: Update comment for when we schedule writes.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2022-02-23 16:21:27 -07:00
parent d33158471a
commit e3d92d4cb8

View File

@ -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)