From: Ingo Molnar <mingo@elte.hu>
To: James Bottomley <James.Bottomley@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Greg Kroah-Hartman <gregkh@suse.de>, Theodore Tso <tytso@mit.edu>,
Andrew Morton <akpm@linux-foundation.org>,
linux-scsi <linux-scsi@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
Jing Huang <huangj@brocade.com>
Subject: Re: [GIT PULL] SCSI fixes for 2.6.32-rc3
Date: Mon, 12 Oct 2009 16:54:53 +0200 [thread overview]
Message-ID: <20091012145453.GD4565@elte.hu> (raw)
In-Reply-To: <1255357148.2850.91.camel@localhost.localdomain>
* James Bottomley <James.Bottomley@suse.de> wrote:
> > > To me, the matter of staging versus actual tree isn't a quality
> > > issue (otherwise we'd be shifting ~75% of SCSI drivers to staging,
> > > depending on whose view of "quality" was being used). [...]
> >
> > I think you need to update your notion of what goes into
> > drivers/staging/ - these days it's primarily about
> > code/implementation quality (Greg please correct me if i'm wrong
> > about that).
> >
> > Driver ABIs are distinctly down the priority list.
>
> Not for me they're not. We worked hard to unify exposed ABIs for
> drivers, so this is the most important user visible feature. We can
> clean up code in the drivers tree, that's easy. We can't break the
> user visible ABI of a supported driver without causing a lot of pain
> to its user community.
I think you are interpreting what should go into drivers/staging/ _very_
narrowly.
Basically if you skip the drivers/staging/ step for unclean drivers you
_remove_ an incentive of driver authors to fix up crap. If it's upstream
already without cleanups then why bother cleaning it up fully?
Staging should be for drivers that arent clean enough for mainline as-is
(having a messy ABI can be one of the reasons that makes a driver
unclean), but which are still important enough and have active
maintainers/developers who care about them.
It's basically an optimistic multi-step trust algorithm for drivers
whose lack would otherwise be a "cannot use upstream" showstopper for a
significant class of Linux users - but which are not yet clean enough
for upstream inclusion. The 4 steps of:
- out of tree
- in Greg's staging tree
- upstream in drivers/staging/
- upstream in drivers/
Offer various degrees of incentives and walking that path expresses it
both to driver authors and to kernel maintainers that all parties
involved can be trusted to produce clean code.
Everyone wins from that:
- users get faster hw-enablement
- driver authors get reinforcement that their stuff is moving forward
(which they can communicate back to their employers)
- maintainers get patches that they can build trust upon and the danger
of release-and-forget drivers is lessened.
- even if authors orphan a driver, actual real users have the ability
to move things themselves.
- [ if none of that happens then sure the driver wasnt all that
important to begin with and can be dropped - nobody loses. ]
I think your interpretation is arbitrary - where did you get that ABI
rule from? I'm sure it cannot be from any of the drivers/staging/
discussions on lkml, i've followed them quite closely. If 'has a messy
ABI' was the only requirement for drivers/staging/ then we could move
90% of drivers/staging/ into drivers/ straight away - and that would be
counter-productive IMHO.
Sidenote, in fact i think we should expand on that: drivers/staging/
should be used in the _other_ direction as well - to un-upstream stale
drivers that are abandoned and unused, in a gradual fashion. 'git mv' is
cheap.
Basically, drivers/staging/ gives us an excellent opportunity to
_increase_ the quality of drivers by applying stronger upstream
inclusion filters, without having to hurt users/developers in the
process. We just have to start using it that way as well.
Ingo
next prev parent reply other threads:[~2009-10-12 14:55 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-06 15:46 [GIT PULL] SCSI fixes for 2.6.32-rc3 James Bottomley
2009-10-06 15:58 ` Linus Torvalds
2009-10-06 20:54 ` James Bottomley
2009-10-06 20:56 ` Randy Dunlap
2009-10-08 14:33 ` James Bottomley
2009-10-08 14:39 ` Linus Torvalds
2009-10-08 14:54 ` Linus Torvalds
2009-10-08 19:48 ` James Bottomley
2009-10-08 19:55 ` Linus Torvalds
2009-10-08 20:00 ` Linus Torvalds
2009-10-08 21:07 ` Theodore Tso
2009-10-08 21:13 ` Linus Torvalds
2009-10-09 9:15 ` Ingo Molnar
2009-10-09 13:10 ` Daniel Walker
2009-10-09 14:08 ` James Bottomley
2009-10-09 19:25 ` Greg KH
2009-10-12 13:06 ` Ingo Molnar
2009-10-12 14:19 ` James Bottomley
2009-10-12 14:54 ` Ingo Molnar [this message]
2009-10-12 15:09 ` Moving drivers into staging (was Re: [GIT PULL] SCSI fixes for 2.6.32-rc3) Greg KH
2009-10-12 15:42 ` Ingo Molnar
[not found] ` <20091012154244.GA13323-X9Un+BFzKDI@public.gmane.org>
2009-10-12 23:24 ` Greg KH
2009-10-13 18:08 ` Luis R. Rodriguez
2009-10-14 4:45 ` Greg KH
[not found] ` <20091014044519.GA19199-l3A5Bk7waGM@public.gmane.org>
2009-10-14 5:19 ` Joe Perches
2009-10-14 6:33 ` Ingo Molnar
2009-10-14 14:13 ` James Smart
2009-10-14 17:52 ` Stefan Richter
2009-10-14 18:36 ` Ingo Molnar
2009-10-14 19:00 ` Stefan Richter
2009-10-15 6:03 ` Ingo Molnar
2009-10-14 19:11 ` Greg KH
[not found] ` <20091012150911.GB1656-l3A5Bk7waGM@public.gmane.org>
2009-10-12 15:43 ` James Bottomley
2009-10-12 23:26 ` Greg KH
2009-10-12 15:25 ` [GIT PULL] SCSI fixes for 2.6.32-rc3 James Bottomley
2009-10-12 17:24 ` Linus Torvalds
2009-10-13 14:29 ` James Bottomley
2009-10-12 14:25 ` Greg KH
2009-10-08 20:04 ` James Bottomley
2009-10-08 20:25 ` Linus Torvalds
2009-10-10 14:37 ` James Bottomley
2009-10-08 14:56 ` James Bottomley
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=20091012145453.GD4565@elte.hu \
--to=mingo@elte.hu \
--cc=James.Bottomley@suse.de \
--cc=akpm@linux-foundation.org \
--cc=gregkh@suse.de \
--cc=huangj@brocade.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=tytso@mit.edu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox