Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-9564 Support for Lustre Servers on Ubuntu 14.04/16.04 Kernel 4.4.0
  3. LU-10526

Ubuntu Kernel 4.4.0 lacks IB_DEVICE_SG_GAPS_REG and IB_MR_TYPE_SG_GAPS symbols

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Fixed
    • Minor
    • Lustre 2.11.0
    • Lustre 2.10.2
    • None
    • Distribution: Ubuntu 14.04/16.04
      Kernel: 4.4.0-*
    • 9223372036854775807

    Description

      Recently, a change has been merged to "lnet/klnds/o2iblnd/o2iblnd.c" which introduces the usage of IB_DEVICE_SG_GAPS_REG and IB_MR_TYPE_SG_GAPS.

      Unfortunately, these symbols are not available in the 4.4.0 Kernels as used by Ubuntu 14/16.

      Additionally, there seems to be general warning against their use:

      Also, there is a related performance issue as reported in LU-10394.

       

      The solution is to create a preprocessor guard around their use, so that Kernels lacking these symbols will not use them and revert to using the older IB_MR_TYPE_MEM_REG, instead.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              mhschroe Martin Schröder (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: