git: a85fea31c5cb - main - iosched: remove stray debug
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 May 2022 02:34:31 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=a85fea31c5cb8ed8f1f5ac9ec3572866ff0ea49d commit a85fea31c5cb8ed8f1f5ac9ec3572866ff0ea49d Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-05-05 02:28:00 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-05-05 02:28:00 +0000 iosched: remove stray debug This printf was designed to catch misqueued bio requests. Prior to supporting read_bias == 0, we couldn't get anything but reads and writes in this queue. However, for read_bias == 0 we queue everything except BIO_DELETE to this queue, so remove the printf. We don't need to update any statistics. Sponsored by: Netflix --- sys/cam/cam_iosched.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/cam/cam_iosched.c b/sys/cam/cam_iosched.c index 89e8a2f58212..d2912b644ada 100644 --- a/sys/cam/cam_iosched.c +++ b/sys/cam/cam_iosched.c @@ -1617,8 +1617,7 @@ cam_iosched_next_bio(struct cam_iosched_softc *isc) isc->write_stats.queued--; isc->write_stats.total++; isc->write_stats.pending++; - } else - printf("Found bio_cmd = %#x\n", bp->bio_cmd); + } } if (iosched_debug > 9) printf("HWQ : %p %#x\n", bp, bp->bio_cmd);