From 162505c019934c13aadf63ed82d4532d5cf5ca82 Mon Sep 17 00:00:00 2001 From: Brian Foster Date: Wed, 18 Jul 2012 13:55:39 -0400 Subject: libglusterfs: remove debug log messages from gidcache The debug log messages for every cache lookup/add pollute the debug output. BUG: 800892 Change-Id: I6b75fd5b7005b8c007106347de8827a0d6c2fd03 Signed-off-by: Brian Foster Reviewed-on: http://review.gluster.com/3692 Reviewed-by: Anand Avati Tested-by: Gluster Build System --- libglusterfs/src/gidcache.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libglusterfs/src/gidcache.c b/libglusterfs/src/gidcache.c index 9e508536d..c55ed2581 100644 --- a/libglusterfs/src/gidcache.c +++ b/libglusterfs/src/gidcache.c @@ -63,8 +63,6 @@ const gid_list_t *gid_cache_lookup(gid_cache_t *cache, uint64_t id) * that they're not used. */ if (now < agl->gl_deadline) { - gf_log("gid-cache", GF_LOG_DEBUG, "id %lu gl found - " - "bucket %d, index %d", id, bucket, i); return agl; } @@ -173,8 +171,6 @@ int gid_cache_add(gid_cache_t *cache, gid_list_t *gl) agl->gl_list = gl->gl_list; agl->gl_deadline = now + cache->gc_max_age; - gf_log("gid-cache", GF_LOG_DEBUG, "id %lu gl added - bucket %d, index %d", - gl->gl_id, bucket, i); UNLOCK(&cache->gc_lock); return 1; -- cgit