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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.1.0
    • Lustre 2.1.0
    • None
    • 3
    • 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

              bobijam Zhenyu Xu
              morrone Christopher Morrone (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: