All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Hammond <jhammond@tacc.utexas.edu>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] [wc-discuss] Important changes to libcfs primitives usage.
Date: Mon, 17 Dec 2012 11:09:40 -0600	[thread overview]
Message-ID: <50CF51D4.2090101@tacc.utexas.edu> (raw)
In-Reply-To: <6BCDB937-AB0C-44E5-8DD7-AB801A673FDC@whamcloud.com>

On 12/05/2012 07:54 AM, Oleg Drokin wrote:
>     I just landed first patch of the series to reduce usage of our libcfs_ wrappers for kernel primitives like libcfs_spin_lock/unlock...
>     You can see actual change here: http://review.whamcloud.com/#change,2829
>
>     It's highly likely that plenty of patches will be affected. To make our job easier, there is a
>     build/libcfs_cleanup.sed script included, you can run it on all your .c and .h files to make necessary replacements:
>     sed -i -f build/libcfs_cleanup.sed3  `find . -name "*.h" -or -name "*.c"`
>
>     Please be also advised that there are more changes like this are coming (timeline is not very clear ATM, we might be able to wait with the rest until
>     after feature freeze) and the sed script will be updated accordingly.

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?

Thanks,

John

-- 
John L. Hammond, Ph.D.
TACC, The University of Texas at Austin
jhammond at tacc.utexas.edu
(512) 471-9304

  parent reply	other threads:[~2012-12-17 17:09 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05 13:54 [Lustre-devel] Important changes to libcfs primitives usage Oleg Drokin
2012-12-14  8:19 ` [Lustre-devel] [wc-discuss] " Alexey Lyahkov
2012-12-14  9:52   ` Peng, Tao
2012-12-15  6:27     ` Alexey Lyahkov
2012-12-15  9:12       ` Dilger, Andreas
2012-12-17  5:44         ` Ken Hornstein
2012-12-17  6:52           ` Liu, Xuezhao
2012-12-17  7:04             ` Zhuravlev, Alexey
2012-12-17 17:21             ` Ken Hornstein
2012-12-17  8:42           ` Dilger, Andreas
2012-12-18  4:12             ` Ken Hornstein
2012-12-18 20:29               ` Prakash Surya
2012-12-18 22:12               ` Brian J. Murrell
2012-12-19  0:12                 ` Prakash Surya
2012-12-19  8:39                   ` Dilger, Andreas
2012-12-19 12:32                   ` Alexey Lyahkov
2012-12-19 22:59                     ` Dilger, Andreas
2012-12-20  2:32                       ` Peng, Tao
2012-12-20 10:45                         ` Alexey Lyahkov
2012-12-21  4:44                           ` Peng, Tao
2012-12-20 11:06                         ` [Lustre-devel] OFLAGS change Alexey Lyahkov
2012-12-20 12:08                           ` Liu, Xuezhao
2012-12-20 16:18                             ` Alexey Lyahkov
2012-12-21  7:47                               ` Liu, Xuezhao
2012-12-21  9:22                                 ` Alexey Lyahkov
2012-12-21 13:44                                   ` Liu, Xuezhao
2012-12-20 10:24                       ` [Lustre-devel] [wc-discuss] Important changes to libcfs primitives usage Alexey Lyahkov
2012-12-19  2:30                 ` Ken Hornstein
2012-12-17 17:09 ` John Hammond [this message]
2012-12-17 17:30   ` Oleg Drokin
2012-12-17 18:34   ` Andreas Dilger
2012-12-19 12:26     ` Alexey Lyahkov
2012-12-19 15:06       ` Liu, Xuezhao
2012-12-19 18:55         ` Alexey Lyahkov
2012-12-19 21:36       ` Dilger, Andreas
2012-12-20 10:08         ` Alexey Lyahkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50CF51D4.2090101@tacc.utexas.edu \
    --to=jhammond@tacc.utexas.edu \
    --cc=lustre-devel@lists.lustre.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.