All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@suse.de>
To: Ingo Molnar <mingo@elte.hu>
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 09:19:07 -0500	[thread overview]
Message-ID: <1255357148.2850.91.camel@localhost.localdomain> (raw)
In-Reply-To: <20091012130652.GB25464@elte.hu>

On Mon, 2009-10-12 at 15:06 +0200, Ingo Molnar wrote:
> * James Bottomley <James.Bottomley@suse.de> wrote:
> 
> > On Fri, 2009-10-09 at 11:15 +0200, Ingo Molnar wrote:
> > > * Linus Torvalds <torvalds@linux-foundation.org> wrote:
> > > 
> > > > On Thu, 8 Oct 2009, Theodore Tso wrote:
> > > > > 
> > > > > So would it be acceptable to merge the 50 kloc of crap _during_ the
> > > > > merge window?
> > > > 
> > > > Yes. I actually looked at the driver (since I had pulled it - I've 
> > > > unpulled it but am still mulling it over), and while I think it looked 
> > > > huge and overly complex, it by no means gave me the kinds of vibes I 
> > > > get from some "obviously-ported-from-windows-with-no-clue" drivers.
> > > > 
> > > > So at least from my quick look I didn't get the feeling that the 
> > > > driver was "evil". For me, it's a timing issue.  I hate getting big 
> > > > pull requests after -rc1 is out, and I really don't like the feeling 
> > > > that people are just ignoring the merge window.
> > > > 
> > > > That said, if somebody wants to look more closely at the driver, and 
> > > > then wants to convince people that it should have gone through 
> > > > "staging", feel free. But that's not what I've personally been arguing 
> > > > about.
> > > 
> > > Greg, what's your take on the quality of this new driver? Do you have 
> > > some time to do a review of this with drivers/staging/ versus drivers/ 
> > > glasses on? The Git URI is at:
> > 
> > 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.

> > [...] It's an ABI issue.  If we would have to change the user visible 
> > ABI while the driver was being cleaned up, I'd want it in staging to 
> > warn users to expect these problems.  Although we couldn't clean up 
> > everything, I did make sure this driver plugs correctly into the 
> > standard linux FC ABI before putting it in the SCSI tree, so there are 
> > no ABI changes anticipated even though there will likely be a lot of 
> > code changes.  Therefore, the correct clean up path for this one is 
> > through the SCSI tree.
> 
> What kind of significant ABI does this driver expose? If this question 
> even comes up then it's using the wrong kind of ABI i think. Drivers 
> should almost never expose significant new ABIs.

The answer was in the email fragment you quoted: none on its own.  It
plugs into the standard FC transport ABI now.

However, there are various storage bodies who see creating user ABIs as
part of their job.  The way these tend to get implemented is in the
driver because that's the way it was done in UNIX (each driver rolls its
own).  Part of my job is going through drivers and taking them out
again ... while ensuring we at least have a way to perform whatever task
it was in a uniform manner for all drivers.

> If it's a storage management ABI then that should have been done at a 
> higher level - possibly as a system call, but at minimum as a general 
> facility.

It is: it's implemented in the FC transport class, where it's uniform
for all FC drivers.

James

> (Anyway ... this cannot be argued without knowing what specific ABI you 
> mean here.)
> 
> 	Ingo


  reply	other threads:[~2009-10-12 14:20 UTC|newest]

Thread overview: 46+ 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 [this message]
2009-10-12 14:54                             ` Ingo Molnar
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
2009-10-12 23:24                                   ` Greg KH
2009-10-12 23:24                                     ` Greg KH
2009-10-13 18:08                                     ` Luis R. Rodriguez
2009-10-13 18:08                                       ` Luis R. Rodriguez
2009-10-14  4:45                                       ` Greg KH
2009-10-14  5:19                                         ` Joe Perches
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
2009-10-12 15:43                                 ` James Bottomley
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=1255357148.2850.91.camel@localhost.localdomain \
    --to=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=mingo@elte.hu \
    --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 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.