Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
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
- is related to
-
LU-9859 libcfs simplification
- Open