2004-04-30 22:12:21

by Matt Domsch

[permalink] [raw]
Subject: 2.4 Remove blk: queue xxxx I/O limit xxxx messages printed by all devices

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.

--
Matt Domsch
Sr. Software Engineer, Lead Engineer
Dell Linux Solutions linux.dell.com & http://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;
}


Attachments:
(No filename) (1.06 kB)
(No filename) (189.00 B)
Download all attachments