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

Fix logic for unaligned transfer with o2iblnd

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.15.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      It's possible for there to be an offset for the first page of a
      transfer. However, there are two bugs with this code in o2iblnd.

      The first is that this use-case will require LNET_MAX_IOV + 1 local
      RDMA fragments, but we do not specify the correct corresponding values
      for the max page list to ib_alloc_fast_reg_page_list(),
      ib_alloc_fast_reg_mr(), etc.

      The second issue is that the logic in kiblnd_setup_rd_iov() and
      kiblnd_setup_rd_kiov() attempts to obtain one more scatterlist entry
      than is actually needed. This causes the transfer to fail with -EFAULT.

      Attachments

        Issue Links

          Activity

            [LU-15092] Fix logic for unaligned transfer with o2iblnd
            cfaber Colin Faber made changes -
            Link New: This issue is related to DDN-3559 [ DDN-3559 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to DDN-2844 [ DDN-2844 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to EX-4347 [ EX-4347 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-13802 [ LU-13802 ]
            pjones Peter Jones made changes -
            Link New: This issue is related to DDN-2683 [ DDN-2683 ]
            pjones Peter Jones made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            hornc Chris Horn made changes -
            Fix Version/s New: Lustre 2.15.0 [ 14791 ]
            hornc Chris Horn created issue -

            People

              hornc Chris Horn
              hornc Chris Horn
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: