netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: Joe Perches <joe@perches.com>, Greg KH <gregkh@suse.de>,
	"Luis R. Rodriguez" <mcgrof@gmail.com>,
	James Bottomley <James.Bottomley@suse.de>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	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>,
	netdev@vger.kernel.org, linux-wireless@vger.kernel.org
Subject: Re: Moving drivers into staging (was Re: [GIT PULL] SCSI fixes for 2.6.32-rc3)
Date: Wed, 14 Oct 2009 20:36:57 +0200	[thread overview]
Message-ID: <20091014183657.GB5133@elte.hu> (raw)
In-Reply-To: <4AD60FF9.40200@s5r6.in-berlin.de>


* Stefan Richter <stefanr@s5r6.in-berlin.de> wrote:

> Ingo Molnar wrote:
> > * Joe Perches <joe@perches.com> wrote:
> > 
> >> On Tue, 2009-10-13 at 21:45 -0700, Greg KH wrote:
> >> > How about when it was scheduled to be removed, we put it in staging and
> >> > I'll add it to my announcements about the staging tree every release?
> >> > Unless you can think of a better way?
> >> 
> >> staging/to_be_removed_unless_fixed_by/v.x.y ?
> > 
> > Yes, that's a real worry. Some time ago i suggested:
> > 
> >   drivers/staging/good/
> >   drivers/staging/bad/
> >   drivers/staging/ugly/
> 
> How well do "git am", "quilt import" and friends cope with ever 
> changing directories?

Once a driver is in a tree it's in Git and git mv is easy. People 
working with Linux better familiarize themselves with Git workflow - the 
sooner the better.

If it's not in tree then it will adopt to whatever layout there is once 
it gets into Greg's tree. I dont see the problem.

> How about using drivers/staging/this_driver/TODO and (or) its Kconfig 
> help text to leave a note about the plans for this driver?

Well, the answer is obvious i think. Tell me, at a glance, if you see a 
patch on lkml, which one is for a staging driver to be obsoleted, and 
which one is the one going upstream real soon? The patches say:

 +++ a/drivers/staging/foo/x.c

 +++ a/drivers/staging/bar/y.c

Then tell me the same at a glance if you see patches for:

 +++ a/drivers/staging/wip/x.c

 +++ a/drivers/staging/bad/y.c

> The worry that these will be ignored like 
> Documentation/feature-removal-schedule.txt is being ignored may apply 
> to the path name based solution too, I'm afraid.

It wont be 'ignored', as it's in every patch, it's in every commit, it's 
in every substantial communication about that driver.

The problem with feature-removal-schedule.txt is that it's too much out 
of sight and not part of the regular patch workflow. Same goes for any 
TODO file. Experience has shown that the actual _path_ were drivers end 
up does matter quite a bit, to general visibility and to mindset.

That's one of the reasons why we have _half a thousand_ directories in 
drivers/ to begin with. The directory namespace is very powerful, and we 
use it to convey all sorts of information about the logical category a 
driver is in.

Using it in drivers/staging/ instead of the current flat hierarchy would 
thus be pretty natural.

	Ingo

  reply	other threads:[~2009-10-14 18:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1255031298.4187.260.camel@mulgrave.site>
     [not found] ` <alpine.LFD.2.01.0910081252090.3432@localhost.localdomain>
     [not found]   ` <alpine.LFD.2.01.0910081255510.3432@localhost.localdomain>
     [not found]     ` <20091008210737.GD29181@mit.edu>
     [not found]       ` <alpine.LFD.2.01.0910081410400.3432@localhost.localdomain>
     [not found]         ` <20091009091538.GA4154@elte.hu>
     [not found]           ` <1255097287.2934.21.camel@localhost.localdomain>
     [not found]             ` <20091012130652.GB25464@elte.hu>
     [not found]               ` <1255357148.2850.91.camel@localhost.localdomain>
     [not found]                 ` <20091012145453.GD4565@elte.hu>
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 [this message]
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

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=20091014183657.GB5133@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=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mcgrof@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=stefanr@s5r6.in-berlin.de \
    --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;
as well as URLs for NNTP newsgroup(s).