[Lustre-devel] [wc-discuss] Important changes to libcfs primitives usage.

Oleg Drokin green at whamcloud.com
Mon Dec 17 09:30:36 PST 2012


Hello!

On Dec 17, 2012, at 12:09 PM, John Hammond wrote:
> I have been wondering about wrappers and typedefs not affected by this change, for example cfs_get_cpu(), cfs_atomic_read() and cfs_proc_dir_entry_t.  In new code and patches should we use the cfs names or their Linux equivalents, get_cpu(), atomic_read(), and struct proc_dir_entry?

Those will be converted in later patches.
As such it's better not to submit cfs_ style names already, though no super big harm if not.

Bye,
    Oleg
--
Oleg Drokin
Senior Software Engineer
Whamcloud, Inc.




More information about the lustre-devel mailing list