Whamcloud - gitweb
LU-11125 ofd: decrease message level 00/33100/2
authorMikhail Pershin <mpershin@whamcloud.com>
Mon, 13 Aug 2018 14:34:30 +0000 (17:34 +0300)
committerJohn L. Hammond <jhammond@whamcloud.com>
Tue, 11 Sep 2018 20:38:28 +0000 (20:38 +0000)
The "destroys_in_progress already cleared" message
in ofd_create_hdl() may be result of high load on OST
server prior failover. It is not an error, so decrease
its level to D_HA from D_ERROR.

Lustre-change: https://review.whamcloud.com/32985
Lustre-commit: c25c4d60ac5fbede50a41da12f91de6e402b3c68

Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: Id5142672a61244a6362be3778d0769baafc87b86
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/33100
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
lustre/ofd/ofd_dev.c

index 1bfe6b2..f195151 100644 (file)
@@ -1623,8 +1623,9 @@ static int ofd_create_hdl(struct tgt_session_info *tsi)
                oseq->os_destroys_in_progress = 1;
                mutex_lock(&oseq->os_create_lock);
                if (!oseq->os_destroys_in_progress) {
-                       CERROR("%s:[%llu] destroys_in_progress already"
-                              " cleared\n", ofd_name(ofd), seq);
+                       CDEBUG(D_HA,
+                              "%s:[%llu] destroys_in_progress already cleared\n",
+                              ofd_name(ofd), seq);
                        rc = ostid_set_id(&rep_oa->o_oi,
                                          ofd_seq_last_oid(oseq));
                        GOTO(out, rc);