From: Prakash Surya <surya1@llnl.gov>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] [wc-discuss] Important changes to libcfs primitives usage.
Date: Tue, 18 Dec 2012 12:29:09 -0800 [thread overview]
Message-ID: <20121218202909.GE23755@llnl.gov> (raw)
In-Reply-To: <201212180412.qBI4CTe9028934@hedwig.cmf.nrl.navy.mil>
On Mon, Dec 17, 2012 at 11:12:29PM -0500, Ken Hornstein wrote:
> >Yes, we'd discussed this in the past, but the patches for lock cleanup
> >never got added into the core Lustre code. We will still be the
> >maintainers of the Lustre code in the kernel, so if there are innocuous
> >no-op calls that can be put into the code (e.g. spin_lock_free()) or
> >something similar I think that is fine.
>
> Well as long as that's not a problem, I don't think that will be an issue
> then.
>
> >The root of the problem, for which there was no easy solution (wrappers
> >or not) is that there is no easy way to test for this under Linux, so
> >without either static code analysis tools (preferably run with the
> >prepare-commit-msg git hook), or rigorous testing on MacOS, it would
> >always be a game of catch up for these cleanups.
>
> I understand that, and I'm personally fine with that. From my memory,
> the issue is not that a lot of lock structures were being created all
> of the time and then deallocated (or I was able to find all of those
> cases); it was more that a bunch of locks were leaked when Lustre shut
> down. I understand it's going to be a constant catch-up.
>
> >I'd like to understand your reasons for thinking it is a bad idea. There
> >are definite plusses and minuses to being in the kernel, but if there is
> >some overwhelming badness for being in the kernel is like to know about
> >it.
>
> Well, fundamentally it just seems to me that you're tying your product
> to the whims of a group of people who, quite frankly, don't care about
> your product (except in a very abstract sense). Giving away a huge amount
> of control of your product looks like a bad idea to me.
>
> But that's sort of vague; let me talk about specifics. There's a HUGE
> difference in practice between "feature X appears in Linux kernel
> version Y" and "My RedHat release Z has a particular feature". That's
> where life gets complicated. Many times we're stuck on a particular
> kernel for various complicated reasons, yet we need to upgrade Lustre
> ... or vice versa. It's kind of like Infiniband in the Linux kernel ...
Perhaps I'm being naive, but at some point it would be nice to have a
rock solid "stable" version of a lustre client and protocol. Giving up
some control over the ability to upgrade the client could be perceived
as a good thing.
--
Cheers, Prakash
> at best, it doesn't hurt us, but it's always the "wrong" version (or so
> my Infiniband guys tell me). We never end up using the Infiniband in
> the kernel, and sometimes (depending on the vagarities of the distro)
> that screws us up hard; part of that is because for a long time one
> particular distro never would distribute the development symbols for
> the Infiniband in the kernel that matched what the kernel was running.
> That won't be an issue with Lustre, but you get the idea.
>
> --Ken
next prev parent reply other threads:[~2012-12-18 20:29 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 [this message]
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
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=20121218202909.GE23755@llnl.gov \
--to=surya1@llnl.gov \
--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.