Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.5.4
    • Lustre 2.5.3
    • None
    • 3
    • 16682

    Description

      First noticed when examining error logs for a different problem. The following code fragment prints the wrong value in the error log:

                      } else if (lrc != 0) {
                              CERROR("%s: error destroying object "DFID": %d\n",
                                     ofd_obd(ofd)->obd_name, PFID(&info->fti_fid),
                                     rc);
                              rc = lrc;
                      }
      

      It should be printing the lrc, not rc. As is the logged message is not as useful as it could be.

      Will enter a patch to correct this.

      Attachments

        Issue Links

          Activity

            [LU-5973] bad error message in ofd_destroy()
            pjones Peter Jones added a comment -

            Landed for 2.5.4

            pjones Peter Jones added a comment - Landed for 2.5.4

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12921/
            Subject: LU-5973 ofd: fix bad error message
            Project: fs/lustre-release
            Branch: b2_5
            Current Patch Set:
            Commit: cae87fca0a1656487786186e8c96ffdac2e3e45a

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12921/ Subject: LU-5973 ofd: fix bad error message Project: fs/lustre-release Branch: b2_5 Current Patch Set: Commit: cae87fca0a1656487786186e8c96ffdac2e3e45a

            no, the equivalent error message in master is already correct. It's a b2_5 only problem.

            bogl Bob Glossman (Inactive) added a comment - no, the equivalent error message in master is already correct. It's a b2_5 only problem.

            Does this not affect master?

            adilger Andreas Dilger added a comment - Does this not affect master?

            Bob Glossman (bob.glossman@intel.com) uploaded a new patch: http://review.whamcloud.com/12921
            Subject: LU-5973 ofd: fix bad error message
            Project: fs/lustre-release
            Branch: b2_5
            Current Patch Set: 1
            Commit: bd94f11f5f34f8da24c0bd3e1bfdcedc13e099f3

            gerrit Gerrit Updater added a comment - Bob Glossman (bob.glossman@intel.com) uploaded a new patch: http://review.whamcloud.com/12921 Subject: LU-5973 ofd: fix bad error message Project: fs/lustre-release Branch: b2_5 Current Patch Set: 1 Commit: bd94f11f5f34f8da24c0bd3e1bfdcedc13e099f3

            People

              bogl Bob Glossman (Inactive)
              bogl Bob Glossman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: