From 005108a26235cd4a865a17bec484043ea0176d69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 16 Dec 2005 14:33:10 +0000 Subject: [PATCH] Forget to remove debug output. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15563 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/cache/block_cache.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/system/kernel/cache/block_cache.cpp b/src/system/kernel/cache/block_cache.cpp index 4b1230d2ac..f3fd555a29 100644 --- a/src/system/kernel/cache/block_cache.cpp +++ b/src/system/kernel/cache/block_cache.cpp @@ -316,7 +316,7 @@ block_cache::NewBlock(off_t blockNumber) void block_cache::RemoveUnusedBlocks(int32 maxAccessed, int32 count) { - dprintf("block_cache: remove up to %ld unused blocks\n", count); + TRACE(("block_cache: remove up to %ld unused blocks\n", count)); cached_block *next = NULL; for (cached_block *block = unused_blocks.First(); block != NULL; block = next) { @@ -327,8 +327,8 @@ block_cache::RemoveUnusedBlocks(int32 maxAccessed, int32 count) if (maxAccessed < block->accessed) continue; - dprintf(" remove block %Ld, accessed %ld times\n", - block->block_number, block->accessed); + TRACE((" remove block %Ld, accessed %ld times\n", + block->block_number, block->accessed)); // this can only happen if no transactions are used if (block->is_dirty) @@ -352,7 +352,7 @@ block_cache::LowMemoryHandler(void *data, int32 level) block_cache *cache = (block_cache *)data; BenaphoreLocker locker(&cache->lock); - dprintf("block_cache: low memory handler called with level %ld\n", level); + TRACE(("block_cache: low memory handler called with level %ld\n", level)); // free some blocks according to the low memory state // (if there is enough memory left, we don't free any)