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()
            chunteraa Chris Hunter (Inactive) made changes -
            Link New: This issue is related to DDN-360 [ DDN-360 ]
            pjones Peter Jones made changes -
            Link New: This issue is related to JFC-8 [ JFC-8 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.5.4 [ 11190 ]
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is duplicated by LU-6276 [ LU-6276 ]
            bogl Bob Glossman (Inactive) made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            bogl Bob Glossman (Inactive) created issue -

            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: