diff options
author | Anand V. Avati <avati@amp.gluster.com> | 2009-05-05 20:04:50 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-05-05 20:10:44 +0530 |
commit | 3f3dea5f23e2b49ac8ad14bf8dd34dfadf6a72f5 (patch) | |
tree | 005423184281abc5fae5581319844503daefafdb /xlators | |
parent | 9cb93f58be9d032bec12ca04275e84904bf22c0b (diff) |
log level fixes in read-ahead
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/performance/read-ahead/src/read-ahead.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xlators/performance/read-ahead/src/read-ahead.c b/xlators/performance/read-ahead/src/read-ahead.c index 1346874b8b4..912e61deeee 100644 --- a/xlators/performance/read-ahead/src/read-ahead.c +++ b/xlators/performance/read-ahead/src/read-ahead.c @@ -298,7 +298,7 @@ read_ahead (call_frame_t *frame, ra_file_t *file) } if (fault) { - gf_log (frame->this->name, GF_LOG_DEBUG, + gf_log (frame->this->name, GF_LOG_TRACE, "RA at offset=%"PRId64, trav_offset); ra_page_fault (file, frame, trav_offset); } @@ -357,12 +357,12 @@ dispatch_requests (call_frame_t *frame, ra_file_t *file) goto unlock; if (trav->ready) { - gf_log (frame->this->name, GF_LOG_DEBUG, + gf_log (frame->this->name, GF_LOG_TRACE, "HIT at offset=%"PRId64".", trav_offset); ra_frame_fill (trav, frame); } else { - gf_log (frame->this->name, GF_LOG_DEBUG, + gf_log (frame->this->name, GF_LOG_TRACE, "IN-TRANSIT at offset=%"PRId64".", trav_offset); ra_wait_on_page (trav, frame); @@ -373,7 +373,7 @@ dispatch_requests (call_frame_t *frame, ra_file_t *file) ra_file_unlock (file); if (fault) { - gf_log (frame->this->name, GF_LOG_DEBUG, + gf_log (frame->this->name, GF_LOG_TRACE, "MISS at offset=%"PRId64".", trav_offset); ra_page_fault (file, frame, trav_offset); @@ -421,7 +421,7 @@ ra_readv (call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size, conf = this->private; - gf_log (this->name, GF_LOG_DEBUG, + gf_log (this->name, GF_LOG_TRACE, "NEW REQ at offset=%"PRId64" for size=%"GF_PRI_SIZET"", offset, size); @@ -435,7 +435,7 @@ ra_readv (call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size, expected_offset = file->expected = file->page_count = 0; } else { - gf_log (this->name, GF_LOG_DEBUG, + gf_log (this->name, GF_LOG_TRACE, "expected offset (%"PRId64") when page_count=%d", offset, file->page_count); |