diff options
author | Warner Losh <imp@FreeBSD.org> | 2022-05-05 02:28:00 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2022-05-05 02:28:00 +0000 |
commit | a85fea31c5cb8ed8f1f5ac9ec3572866ff0ea49d (patch) | |
tree | 86bfa95e29c8e3c83637198896de0338c7bc49e9 | |
parent | 1907e1c07c3616bc49309f017d24106d2773b24a (diff) | |
download | src-a85fea31c5cb8ed8f1f5ac9ec3572866ff0ea49d.tar.gz src-a85fea31c5cb8ed8f1f5ac9ec3572866ff0ea49d.zip |
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
-rw-r--r-- | sys/cam/cam_iosched.c | 3 |
1 files changed, 1 insertions, 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); |