From: Brian Behlendorf Date: Fri, 15 Jan 2010 17:33:42 +0000 (-0800) Subject: b=16909 Suppress "changing the import ..." warning. X-Git-Tag: 1.8.3~9 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=4eb00849546ca174349b99140dcb12bc2fc1fdba 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 --- 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);