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

Restrict libcfs to compatibility code only

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.15.0
    • None
    • None
    • 9223372036854775807

    Description

      Libcfs currently contains both compatibility code and support code such as abstract-data-types and logging code.  It would be best to keep these separate, particularly in view of the goal of landing lustre in the mainline kernel, where having a "libcfs" would not fit well.

      Some of the support code duplicates functionality already provided by Linux, and this is slowly being deprecated and removed in favour of the Linux code.  There is still move to be done.

      Other support code is not as generic as it might seem (e.g. heap.c) and would fit well inside the only module that uses it.

      The goal of this improvement is to move everything other than compatibility code out of libcfs.  If there is anything remaining that would go in "linux/lib" upsteam, (there might be some, but not much), it should go into a new "lib" directory.

       

      Attachments

        Issue Links

          Activity

            People

              neilb Neil Brown
              neilb Neil Brown
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: