From dc465059737e86c97e9b5fdad8664063250cbf18 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Sun, 11 Sep 2016 20:14:19 +0000 Subject: [PATCH] ioat(4): De-spam ioat_process_events KTR logs Sponsored by: Dell EMC Isilon --- sys/dev/ioat/ioat.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/ioat/ioat.c b/sys/dev/ioat/ioat.c index 15a29e09a796..c5ab03b0dd40 100644 --- a/sys/dev/ioat/ioat.c +++ b/sys/dev/ioat/ioat.c @@ -663,8 +663,6 @@ ioat_process_events(struct ioat_softc *ioat) boolean_t pending; int error; - CTR2(KTR_IOAT, "%s channel=%u", __func__, ioat->chan_idx); - mtx_lock(&ioat->cleanup_lock); /* @@ -679,8 +677,6 @@ ioat_process_events(struct ioat_softc *ioat) completed = 0; comp_update = ioat_get_chansts(ioat); - CTR4(KTR_IOAT, "%s channel=%u hw_status=0x%lx last_seen=0x%lx", - __func__, ioat->chan_idx, comp_update, ioat->last_seen); status = comp_update & IOAT_CHANSTS_COMPLETED_DESCRIPTOR_MASK; if (status == ioat->last_seen) { @@ -690,6 +686,8 @@ ioat_process_events(struct ioat_softc *ioat) */ goto out; } + CTR4(KTR_IOAT, "%s channel=%u hw_status=0x%lx last_seen=0x%lx", + __func__, ioat->chan_idx, comp_update, ioat->last_seen); desc = ioat_get_ring_entry(ioat, ioat->tail - 1); while (desc->hw_desc_bus_addr != status && ioat_get_active(ioat) > 0) {