From a85fea31c5cb8ed8f1f5ac9ec3572866ff0ea49d Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 4 May 2022 20:28:00 -0600 Subject: 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); -- cgit v1.2.3