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

Restrict libcfs to compatibility code only

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • 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

              wc-triage WC Triage
              neilb Neil Brown
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: