[PATCH] block: remove the annoying 'blk: queue %p I/O limit %luMb' messages
Linux Kernel Mailing List <[email protected]> Fri, 12 May 2006 18:59:45 GMT
| Newsgroups | gmane.linux.kernel.commits.2-4 |
|---|---|
| Message-ID | <[email protected]> |
commit 53767b06aebcfb9ee5255ceed4f41467f4734e8d tree d3aaa56f872db1a4aa13fd6acc1b98da8752c493 parent 96349d47f0ee11eae1f892052a174cbaf819203e author Willy TARREAU <willy@pcw.(none)> Sun, 07 May 2006 21:44:36 +0200 committer Willy TARREAU <willy@pcw.(none)> Sun, 07 May 2006 21:44:36 +0200 [PATCH] block: remove the annoying 'blk: queue %p I/O limit %luMb' messages This patch initially suggested by Matt Domsch seems to have got lost in the noise. Its intent was to remove this annoying message that all block devices print at boot. It was pure debugging and people still take it for errors. Signed-off-by: Willy Tarreau <[email protected]> - Willy drivers/block/ll_rw_blk.c | 15 --------------- 1 files changed, 15 deletions(-) diff --git a/drivers/block/ll_rw_blk.c b/drivers/block/ll_rw_blk.c index 2a27aea..3924b24 100644 --- a/drivers/block/ll_rw_blk.c +++ b/drivers/block/ll_rw_blk.c @@ -285,21 +285,6 @@ void blk_queue_make_request(request_queu 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; }