Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
Lustre 2.4.0, Lustre 2.5.0
-
10533
Description
Migrate libcfs to emulate Linux kernel APIs, so that when submitting Linux client to upstream kernel, we don't need the abstraction layer which will be rejected by kernel maintainers. The majority of libcfs are cfs_* or ll_* wrappers, and can be cleaned up with scripts doing like "s/cfs_spin_lock/spin_lock". For other functions that cannot be cleaned up this way, we need to look at them in a case-by-case basis.
Phase I of this work is complete. No more cfs_list or cfs_atomic etc. Now we are unto phase II which is putting libcfs on a diet. Lots of wrappers still exist that are no longer needed so we will now start that cleanup. First patch for that cleanup is here:
http://review.whamcloud.com/#/c/11963