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

lum->lmm_stripe_count used unswabbed in llapi_layout_get_by_fd()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.8.0
    • None
    • 9223372036854775807

    Description

      llapi_layout_get_by_fd() contains this code which uses lmm_stripe_count without first checking if the lov_user_md needs to be byte-swapped. This causes a false error on PowerPC clients.

              if (!S_ISDIR(st.st_mode) && object_count != lum->lmm_stripe_count) {
                      errno = EINTR;
                      goto out;
              }
      

      Attachments

        Issue Links

          Activity

            People

              emoly.liu Emoly Liu
              nedbass Ned Bass (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: