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

lustre_types.h is missing, and replacement posix-types.h not included in user-space

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.1.0
    • Fix Version/s: Lustre 2.1.0
    • Labels:
      None
    • Severity:
      3
    • Rank (Obsolete):
      4925

      Description

      The lustre_types.h header that was in 1.8 is not present on master. This means that any one including lustre/lustre_user.h in their user-space code is going to hit a compiler error.

      Mining the git logs, it looks like

      lustre/include/linux/lustre_types.h
      

      from 1.8 was replaced in 2.0 by

      libcfs/include/libcfs/posix/posix-types.h
      

      as part of libcfs cleanup patches. However, posix-types.h is neither installed as part of lustre, nor included in the user-space header files.

      I would think that posix-types.h needs to be installed under /usr/include/lustre and then conditionally included (!KERNEL) by lustre_user.h and any other headers that need it.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bobijam Zhenyu Xu
                Reporter:
                morrone Christopher Morrone
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: