[Linux-cachefs] [PATCH] cachefilesd: Tone down cachefiled's system log verbosity

Steve Dickson SteveD at redhat.com
Fri Apr 23 15:59:52 UTC 2010


commit 922bab3b9015ac13e4587a6f6969ebf13e4c3fdb
Author: Steve Dickson <steved at redhat.com>
Date:   Fri Apr 23 11:56:41 2010 -0400

    cachefilesd: Tone down cachefiled's system log verbosity
    
    There is no need to log every time the cull
    table is refilled.
    
    Signed-off-by: Steve Dickson <steved at redhat.com>

diff --git a/cachefilesd.c b/cachefilesd.c
index 4887c42..96bd9f7 100644
--- a/cachefilesd.c
+++ b/cachefilesd.c
@@ -627,7 +627,7 @@ static void cachefilesd(void)
 			if (jumpstart_scan) {
 				jumpstart_scan = 0;
 				if (!stop && !scan) {
-					notice("Refilling cull table");
+					debug(1, "Refilling cull table");
 					root.usage++;
 					scan = &root;
 				}
@@ -1496,7 +1496,7 @@ static void cull_objects(void)
 	if (!scan && oldest_build <= culltable_size / 2 + 2) {
 		decant_cull_table();
 
-		notice("Refilling cull table");
+		debug(1, "Refilling cull table");
 		root.usage++;
 		scan = &root;
 	}




More information about the Linux-cachefs mailing list