Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-4383

fid_is_on_ost should only return 1 or 0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.6.0
    • Lustre 2.4.1, Lustre 2.5.0, Lustre 2.6.0
    • 3
    • 12013

    Description

      fid_is_on_ost should only return 1 or 0 to check whether the object is OST.

              rc = osd_fld_lookup(info->oti_env, osd, fid_seq(fid), range);
              if (rc != 0) {
                      
                     CERROR("%s: can't lookup FLD sequence "LPX64
                                     ": rc = %d\n", osd_name(osd), seq, rc);
                     RETURN(rc);
              }
      

      Fortunately, it only affects DNE run.

      Attachments

        Activity

          People

            di.wang Di Wang
            di.wang Di Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: