From: Nicholas Henke <nic@cray.com>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] moving obd_fail_check to libcfs
Date: Mon, 23 Feb 2009 17:53:31 -0600 [thread overview]
Message-ID: <49A336FB.1040908@cray.com> (raw)
In-Reply-To: <49A32851.50803@sun.com>
di wang wrote:
> Hello,
> Eric Barton wrote:
>> Although I could agree that there should be levels of abstraction
>> above libcfs, it is, de facto, the place we put _all_ generic code
>> - not just stateless porting primitives, but everything that can be
>> used everywhere.
>>
>> I don't actually think of obd_fail_check as inexorably bound with
>> /proc. But since that's the current implementation, it's probably
>> my oversight not to have shared that sense of direction.
>>
>> Nic, is the patch totally /proc - centric? Wangdi is doing the work
>> to remove /proc-ness and make our tuneables, configurables and monitoring
>> more portable. He needs to be involved...
Not totally, no - just the user-space data manipulation. Once that variable is
set, the code is pretty agnostic.
> Yes, after we have our own /proc stuff in lustre, which might be land to
> HEAD in 2 or 3 weeks. All the new proc stuff is implemented in libcfs
> layer, then we will move as much as obd proc stuff(obd lprocfs layer) to
> libcfs layer, then they(include obd_fail_check) can be shared with LNET.
>
Is there a branch name I could checkout to look at this ? I'd like to make sure
the fail_loc move would be easy to tie into that.
> The only difference for those sysctl parameters is that you may not use
> /etc/sysctl.conf to control them anymore, and lctl set_param is the only
> interface here.
>
> Actually, you can also move this now. but it means you need move those
> obd proc api to libcfs layer, which might not be small amount of
> work.
It isn't too bad - they use the CFS_PROC_PROTO and not all of the lprocfs_XXX()
functionality.
It should like this would have a limited lifetime in 1.6.X and 1.8.X, but I'm
fine with that. That gives us a bit of time :-)
Nic
next prev parent reply other threads:[~2009-02-23 23:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-22 17:15 [Lustre-devel] moving obd_fail_check to libcfs Nic Henke
2009-02-23 8:11 ` Robert Read
2009-02-23 21:39 ` Eric Barton
2009-02-23 22:50 ` di wang
2009-02-23 23:53 ` Nicholas Henke [this message]
2009-02-24 1:04 ` di wang
2009-02-23 14:56 ` Eric Barton
2009-03-09 20:26 ` Nicholas Henke
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=49A336FB.1040908@cray.com \
--to=nic@cray.com \
--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.