[sheepdog] [PATCH 3/3] sheep: error massages in sheep_exec_request

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


normally sheep_exec_request succeeded by retry request.
However, always sheep_exec_request shows ERROR.

level of logs WARN is desirable.

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

diff --git a/sheep/request.c b/sheep/request.c
index 2f86c67..b826f0f 100644
--- a/sheep/request.c
+++ b/sheep/request.c
@@ -1182,7 +1182,7 @@ worker_fn int sheep_exec_req(const struct node_id *nid, struct sd_req *hdr,
 	}
 	ret = rsp->result;
 	if (ret != SD_RES_SUCCESS)
-		sd_err("failed %s, remote address: %s, op name: %s",
+		sd_warn("failed %s, remote address: %s, op name: %s",
 				sd_strerror(ret),
 				addr_to_str(nid->addr, nid->port),
 				op_name(get_sd_op(hdr->opcode)));
-- 
1.7.1


-- 
NTTソフトウェア株式会社
クラウド事業部
第一事業ユニット
佐伯 昌樹
TEL: 045-212-7393
FAX: 045-662-7856
Mail: saeki.masaki at po.ntts.co.jp
--




More information about the sheepdog mailing list