From 4eb00849546ca174349b99140dcb12bc2fc1fdba Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 15 Jan 2010 09:33:42 -0800 Subject: [PATCH] b=16909 Suppress "changing the import ..." warning. This warning will always be printed when the MDT reconnects to an OST after the MDT is restarted. There is nothing wrong here and more importantly there is nothing the admin should do or care about so I'm moving the warning to D_HA. Lustre: 9099:0:(llog_net.c:175:llog_receptor_accept()) changing the import ffff810236ad8800 - ffff8102050a9800 --- lustre/ptlrpc/llog_net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/ptlrpc/llog_net.c b/lustre/ptlrpc/llog_net.c index 87e3566..f431434 100644 --- a/lustre/ptlrpc/llog_net.c +++ b/lustre/ptlrpc/llog_net.c @@ -171,8 +171,8 @@ int llog_receptor_accept(struct llog_ctxt *ctxt, struct obd_import *imp) mutex_down(&ctxt->loc_sem); if (ctxt->loc_imp != imp) { if (ctxt->loc_imp) { - CWARN("changing the import %p - %p\n", - ctxt->loc_imp, imp); + CDEBUG(D_HA, "changing the import %p - %p\n", + ctxt->loc_imp, imp); class_import_put(ctxt->loc_imp); } ctxt->loc_imp = class_import_get(imp); -- 1.8.3.1