Change the log level of statement from ERROR to DEBUG.
ENOBUFS and ENODATA are expected during SNS repair.
@@ -119,7 +119,11 @@ static int cm_swu_fom_tick(struct m0_fom *fom)
m0_cm_lock(cm);
rc = swu_action[phase](swu);
if (rc != 0) {
+ if (!M0_IN(rc, (-ENOBUFS, -ENODATA)))
M0_LOG(M0_ERROR, "SWU phase=%d rc=%d.", phase, rc);
+ else
+ M0_LOG(M0_DEBUG, "SWU phase=%d rc=%d.", phase, rc);
+
m0_cm_sw_remote_update(cm);
}
if (rc < 0) {
