Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0, Lustre 2.12.6
    • None
    • None
    • 9223372036854775807

    Description

      I'm testing MOFED 5.1 Beta candidate with lustre master. And I got the following compilation error:
      Type 'make' to build Lustre.
      + grep -q 'define[[:space:]]*HAVE_SERVER_SUPPORT' config.h
      + make -j24 -s
      Making all in .
      /tmp/rpmbuild-lustre--ToFAMKNQ/BUILD/lustre-2.13.54_148_g3fcceea/lnet/klnds/o2iblnd/o2iblnd_cb.c: In function 'kiblnd_reject':
      /tmp/rpmbuild-lustre--ToFAMKNQ/BUILD/lustre-2.13.54_148_g3fcceea/lnet/klnds/o2iblnd/o2iblnd_cb.c:2296:9: error: too few arguments to function 'rdma_reject'
      rc = rdma_reject(cmid, rej, sizeof(*rej));
      The error is related to a change in RDMA_CM API. The change came to MOFED from the upstream kernel:

       

      commit 8094ba0ace7f6cd1e31ea8b151fba3594cadfa9a
      Author: Leon Romanovsky <leonro@mellanox.com>
      Date: Tue May 26 13:33:04 2020 +0300
      RDMA/cma: Provide ECE reject reason
      IBTA declares "vendor option not supported" reject reason in REJ messages
       if passive side doesn't want to accept proposed ECE options.
      Due to the fact that ECE is managed by userspace, there is a need to let
       users to provide such rejected reason.
      Link: https://lore.kernel.org/r/20200526103304.196371-7-leon@kernel.org
       Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
       Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
      

      And the same error is expected with kernel 5.8.

      I have a patch for the lustre to support MOFED 5.1 and kernel 5.8. I will push the patch for review soon.

       

      Attachments

        Issue Links

          Activity

            [LU-13761] MOFED 5.1 support

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39781/
            Subject: LU-13761 o2ib: Fix compilation with MOFED 5.1
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: ba702c79fbf81da830e0ba3d79f1f4efd9d50310

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39781/ Subject: LU-13761 o2ib: Fix compilation with MOFED 5.1 Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: ba702c79fbf81da830e0ba3d79f1f4efd9d50310

            Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/39781
            Subject: LU-13761 o2ib: Fix compilation with MOFED 5.1
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 3aefc95e209cf053f05426f72b950af8a7ce75fd

            gerrit Gerrit Updater added a comment - Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/39781 Subject: LU-13761 o2ib: Fix compilation with MOFED 5.1 Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 3aefc95e209cf053f05426f72b950af8a7ce75fd
            pjones Peter Jones added a comment -

            Landed for 2.14

            pjones Peter Jones added a comment - Landed for 2.14

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39323/
            Subject: LU-13761 o2ib: Fix compilation with MOFED 5.1
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 956deb0fe8195c7a0c38c66a5a8cc1e95c2c245e

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39323/ Subject: LU-13761 o2ib: Fix compilation with MOFED 5.1 Project: fs/lustre-release Branch: master Current Patch Set: Commit: 956deb0fe8195c7a0c38c66a5a8cc1e95c2c245e

            Sergey Gorenko (sergeygo@mellanox.com) uploaded a new patch: https://review.whamcloud.com/39323
            Subject: LU-13761 o2ib: Fix compilation with MOFED 5.1
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 4ddc15e21351b7a8a021c00e275c79da25b26659

            gerrit Gerrit Updater added a comment - Sergey Gorenko (sergeygo@mellanox.com) uploaded a new patch: https://review.whamcloud.com/39323 Subject: LU-13761 o2ib: Fix compilation with MOFED 5.1 Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 4ddc15e21351b7a8a021c00e275c79da25b26659

            People

              sergeygo Sergey Gorenko
              sergeygo Sergey Gorenko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: