[sheepdog] [PATCH] recovery: fix log priority and output

MORITA Kazutaka morita.kazutaka at gmail.com
Tue Aug 13 11:55:28 CEST 2013


From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>

This is not an error.  sd_info() is better.

Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 sheep/recovery.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sheep/recovery.c b/sheep/recovery.c
index 91c1a10..1b5adc1 100644
--- a/sheep/recovery.c
+++ b/sheep/recovery.c
@@ -619,8 +619,8 @@ static void recover_object_main(struct work *work)
 	wakeup_requests_on_oid(row->oid);
 	rinfo->done++;
 
-	sd_err("done:%"PRIu64" count:%"PRIu64", oid:%"PRIx64, rinfo->done,
-	       rinfo->count, row->oid);
+	sd_info("object %"PRIx64" is recovered (%"PRIu64"/%"PRIu64")", row->oid,
+		rinfo->done, rinfo->count);
 
 	if (rinfo->done < rinfo->count) {
 		recover_next_object(rinfo);
-- 
1.7.9.5




More information about the sheepdog mailing list