Skip to contentSkip to conversation

2.4 Remove blk: queue xxxx I/O limit xxxx messages printed by all devices

DISCUSSION Matt Domsch 1 participant 1 message Apr 30, 2004

lore
Share & tools
lore
#0 lore raw

Jens, please review and ack this patch against 2.4.

Remove blk: queue xxxx I/O limit xxxx messages printed by all block devices

This was a debug message and is no longer needed.

Signature · 30 lines
Matt Domsch
Sr. Software Engineer, Lead Engineer
Dell Linux Solutions linux.dell.com & www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com

===== drivers/block/ll_rw_blk.c 1.53 vs edited =====
--- 1.53/drivers/block/ll_rw_blk.c	Mon Mar 15 10:52:56 2004
+++ edited/drivers/block/ll_rw_blk.c	Fri Apr 30 17:06:36 2004
@@ -280,21 +280,6 @@
 void blk_queue_bounce_limit(request_queue_t *q, u64 dma_addr)
 {
 	unsigned long bounce_pfn = dma_addr >> PAGE_SHIFT;
-	unsigned long mb = dma_addr >> 20;
-	static request_queue_t *old_q;
-
-	/*
-	 * keep this for debugging for now...
-	 */
-	if (dma_addr != BLK_BOUNCE_HIGH && q != old_q) {
-		old_q = q;
-		printk("blk: queue %p, ", q);
-		if (dma_addr == BLK_BOUNCE_ANY)
-			printk("no I/O memory limit\n");
-		else
-			printk("I/O limit %luMb (mask 0x%Lx)\n", mb,
-			       (long long) dma_addr);
-	}
 
 	q->bounce_pfn = bounce_pfn;
 }