Whamcloud - gitweb
b=16909 Suppress "changing the import ..." warning.
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 15 Jan 2010 17:33:42 +0000 (09:33 -0800)
committerJohann Lombardi <johann@sun.com>
Tue, 6 Apr 2010 20:44:59 +0000 (22:44 +0200)
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

index 87e3566..f431434 100644 (file)
@@ -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);