From 3d45b19e71eaafbb7c129f6ce52e3d5ff1ead2bc Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Mon, 6 Feb 2012 13:00:26 +0100 Subject: [PATCH] less verbose debugging --- lib_log.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib_log.c b/lib_log.c index 444f4f3c..138277de 100644 --- a/lib_log.c +++ b/lib_log.c @@ -185,7 +185,7 @@ void *log_reserve(struct log_status *logst, struct log_header *lh) int offset; int status; - MARS_DBG("reserving %d bytes at %lld\n", lh->l_len, logst->log_pos); + MARS_IO("reserving %d bytes at %lld\n", lh->l_len, logst->log_pos); mref = logst->log_mref; if ((mref && total_len > mref->ref_len - logst->offset) @@ -517,7 +517,7 @@ restart: chunk_offset = logst->log_pos & (loff_t)(logst->chunk_size - 1); chunk_rest = logst->chunk_size - chunk_offset; mref->ref_len = chunk_rest + logst->chunk_size * 4; - MARS_DBG("log_pos = %lld chunk_offset = %d chunk_rest = %d ref_len = %d\n", logst->log_pos, chunk_offset, chunk_rest, mref->ref_len); + MARS_IO("log_pos = %lld chunk_offset = %d chunk_rest = %d ref_len = %d\n", logst->log_pos, chunk_offset, chunk_rest, mref->ref_len); mref->ref_prio = logst->io_prio; status = GENERIC_INPUT_CALL(logst->input, mref_get, mref); @@ -552,7 +552,7 @@ restart: status = -EINVAL; } if (unlikely(status < 0)) { - MARS_DBG("ref_len = %d offset = %d status = %d\n", mref->ref_len, logst->offset, status); + MARS_IO("ref_len = %d offset = %d status = %d\n", mref->ref_len, logst->offset, status); goto done_put; }