From f62628af61f5ef72c6af2b807c1bba71f291a366 Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Tue, 5 May 2009 19:19:30 +0530 Subject: io-cache logging level fixes --- xlators/performance/io-cache/src/io-cache.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'xlators/performance/io-cache/src/io-cache.h') diff --git a/xlators/performance/io-cache/src/io-cache.h b/xlators/performance/io-cache/src/io-cache.h index 954b3fec4..5d0590d33 100644 --- a/xlators/performance/io-cache/src/io-cache.h +++ b/xlators/performance/io-cache/src/io-cache.h @@ -221,7 +221,7 @@ ioc_frame_fill (ioc_page_t *page, call_frame_t *frame, off_t offset, #define ioc_inode_lock(ioc_inode) \ do { \ - gf_log (ioc_inode->table->xl->name, GF_LOG_DEBUG, \ + gf_log (ioc_inode->table->xl->name, GF_LOG_TRACE, \ "locked inode(%p)", ioc_inode); \ pthread_mutex_lock (&ioc_inode->inode_lock); \ } while (0) @@ -229,7 +229,7 @@ ioc_frame_fill (ioc_page_t *page, call_frame_t *frame, off_t offset, #define ioc_inode_unlock(ioc_inode) \ do { \ - gf_log (ioc_inode->table->xl->name, GF_LOG_DEBUG, \ + gf_log (ioc_inode->table->xl->name, GF_LOG_TRACE, \ "unlocked inode(%p)", ioc_inode); \ pthread_mutex_unlock (&ioc_inode->inode_lock); \ } while (0) @@ -237,7 +237,7 @@ ioc_frame_fill (ioc_page_t *page, call_frame_t *frame, off_t offset, #define ioc_table_lock(table) \ do { \ - gf_log (table->xl->name, GF_LOG_DEBUG, \ + gf_log (table->xl->name, GF_LOG_TRACE, \ "locked table(%p)", table); \ pthread_mutex_lock (&table->table_lock); \ } while (0) @@ -245,7 +245,7 @@ ioc_frame_fill (ioc_page_t *page, call_frame_t *frame, off_t offset, #define ioc_table_unlock(table) \ do { \ - gf_log (table->xl->name, GF_LOG_DEBUG, \ + gf_log (table->xl->name, GF_LOG_TRACE, \ "unlocked table(%p)", table); \ pthread_mutex_unlock (&table->table_lock); \ } while (0) @@ -253,7 +253,7 @@ ioc_frame_fill (ioc_page_t *page, call_frame_t *frame, off_t offset, #define ioc_local_lock(local) \ do { \ - gf_log (local->inode->table->xl->name, GF_LOG_DEBUG, \ + gf_log (local->inode->table->xl->name, GF_LOG_TRACE, \ "locked local(%p)", local); \ pthread_mutex_lock (&local->local_lock); \ } while (0) @@ -261,7 +261,7 @@ ioc_frame_fill (ioc_page_t *page, call_frame_t *frame, off_t offset, #define ioc_local_unlock(local) \ do { \ - gf_log (local->inode->table->xl->name, GF_LOG_DEBUG, \ + gf_log (local->inode->table->xl->name, GF_LOG_TRACE, \ "unlocked local(%p)", local); \ pthread_mutex_unlock (&local->local_lock); \ } while (0) @@ -269,7 +269,7 @@ ioc_frame_fill (ioc_page_t *page, call_frame_t *frame, off_t offset, #define ioc_page_lock(page) \ do { \ - gf_log (page->inode->table->xl->name, GF_LOG_DEBUG, \ + gf_log (page->inode->table->xl->name, GF_LOG_TRACE, \ "locked page(%p)", page); \ pthread_mutex_lock (&page->page_lock); \ } while (0) @@ -277,7 +277,7 @@ ioc_frame_fill (ioc_page_t *page, call_frame_t *frame, off_t offset, #define ioc_page_unlock(page) \ do { \ - gf_log (page->inode->table->xl->name, GF_LOG_DEBUG, \ + gf_log (page->inode->table->xl->name, GF_LOG_TRACE, \ "unlocked page(%p)", page); \ pthread_mutex_unlock (&page->page_lock); \ } while (0) -- cgit