[sheepdog] [PATCH 2/3] sheep: error messages in recovery is too frequently

Saeki Masaki saeki.masaki at po.ntts.co.jp
Wed Feb 4 03:50:38 CET 2015

lacking objects during recovery is acceptable in the range of redundancy.
So it is not necessary to show all error messages

This problem occurs only in EC.
because, ec object have not replicated object.

Signed-off-by: Masaki Saeki<saeki.masaki at po.ntts.co.jp>
 sheep/recovery.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sheep/recovery.c b/sheep/recovery.c
index dbd5146..adbf5ba 100644
--- a/sheep/recovery.c
+++ b/sheep/recovery.c
@@ -240,7 +240,7 @@ rollback:
 		new_old = rollback_vnode_info(&tgt_epoch, rw->rinfo,
 					      rw->cur_vinfo, true);
 		if (!new_old) {
-			sd_err("can not read %"PRIx64" idx %d", oid, idx);
+			sd_warn("can not read %"PRIx64" idx %d", oid, idx);
 			buf = NULL;
 			goto done;

佐伯 昌樹
TEL: 045-212-7393
FAX: 045-662-7856
Mail: saeki.masaki at po.ntts.co.jp

More information about the sheepdog mailing list