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

Allow building with quota support against kernel devel headers

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • None
    • Lustre 2.1.0
    • None
    • Chaos 4.4
    • 5089

    Description

      The configure script now treats 64-bit quota limits as mandatory. In 1.8, this check continued with limited quota support if the check failed. For CHAOS systems we build Lustre against the kernel development headers, not full kernel source. Therefore the 64-bit quota limits check is guaranteed to fail
      for us because the test relies on private kernel headers in linux/fs/quota. Although the RHEL6 and CHAOS kernels contain the 64-bit quota limits patch, it unfortunately does not export any symbols or expose any public headers we can use to detect it in an autoconf test. A possible workaround for this is to add a configure option, say --enable-64bit-quota, that can be used to bypass the test if one is certain that the required kernel support is in place. This would also require a new compatibility header to provide the needed definitions. I will push an implementation of this up to Gerrit for insepction.

      Attachments

        Activity

          People

            bobijam Zhenyu Xu
            nedbass Ned Bass
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: