Details

    • Technical task
    • Resolution: Fixed
    • Minor
    • Lustre 2.8.0
    • None
    • 14391

    Description

      Brian Behlendorf points out in the comments on patch 10394 that the following console warning message is not particularly intelligible as it stands.

      From lustre/ofd/ofd_dev.c:

                      /* This can happen if a new OST is formatted and installed
                       * in place of an old one at the same index.  Instead of
                       * precreating potentially millions of deleted old objects
                       * (possibly filling the OST), only precreate the last batch.
                       * LFSCK will eventually clean up any orphans. LU-14 */
                      if (diff > 5 * OST_MAX_PRECREATE) {
                              diff = OST_MAX_PRECREATE / 2;
                              LCONSOLE_WARN("%s: precreate FID "DOSTID" is over %u "
                                            "larger than the LAST_ID "DOSTID", only "
                                            "precreating the last %u objects.\n",
                                            ofd_name(ofd), POSTID(&oa->o_oi),
                                            5 * OST_MAX_PRECREATE,
                                            POSTID(&oseq->os_oi), diff);
                              ofd_seq_last_oid_set(oseq, ostid_id(&oa->o_oi) - diff);
                      }
      

      Brian said:

      I still don't think the console message itself is at all useful. Either Lustre should silently handle this case (if it can) and we can silence the message. Or the console message should be updated to include clear explanation of what's wrong and what an administrator needs to do. As it stands, I feel it's just noise when is only useful to a developer.

      I agree that this message needs improvment.

      Attachments

        Activity

          [LU-5187] Make "precreate FID" console message more intelligible

          Landed for 2.8

          jgmitter Joseph Gmitter (Inactive) added a comment - Landed for 2.8

          Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/10767/
          Subject: LU-5187 ofd: Fix precreate console warning
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: d9683d9cd5ecf7dd2d0ff24492a2117c4c61356b

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/10767/ Subject: LU-5187 ofd: Fix precreate console warning Project: fs/lustre-release Branch: master Current Patch Set: Commit: d9683d9cd5ecf7dd2d0ff24492a2117c4c61356b

          Chris,

          There's a new revision with an altered Console warning (and the developer info is dumped into the HA debug level).

          utopiabound Nathaniel Clark added a comment - Chris, There's a new revision with an altered Console warning (and the developer info is dumped into the HA debug level).

          Nathaniel, please see Andreas's review of revision 1 of patch 10394. Andreas rejected the idea of just changing the logging level. Therefore this ticket's intent is to rework the actual message into something that is understandable and actionable by a system administrator.

          morrone Christopher Morrone (Inactive) added a comment - Nathaniel, please see Andreas's review of revision 1 of patch 10394 . Andreas rejected the idea of just changing the logging level. Therefore this ticket's intent is to rework the actual message into something that is understandable and actionable by a system administrator.
          utopiabound Nathaniel Clark added a comment - http://review.whamcloud.com/10767
          pjones Peter Jones added a comment -

          Nathaniel

          Could you please assist with this one?

          Thanks

          Peter

          pjones Peter Jones added a comment - Nathaniel Could you please assist with this one? Thanks Peter

          People

            utopiabound Nathaniel Clark
            morrone Christopher Morrone (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: