public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Dan Williams <dan.j.williams@intel.com>
Cc: Christoph Hellwig <hch@lst.de>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	linux-scsi <linux-scsi@vger.kernel.org>,
	Dave Jiang <dave.jiang@intel.com>,
	Jeff Skirvin <jeffrey.d.skirvin@intel.com>,
	Ed Ciechanowski <ed.ciechanowski@intel.com>,
	Ed Nadolski <edmund.nadolski@intel.com>,
	David Milburn <dmilburn@redhat.com>,
	Jeff Garzik <jeff@garzik.org>,
	Jacek Danecki <jacek.danecki@intel.com>,
	hare@suse.de
Subject: Re: [GIT PULL] isci: sas controller driver for 3.0
Date: Sat, 02 Jul 2011 17:45:29 -0500	[thread overview]
Message-ID: <1309646729.2554.17.camel@mulgrave> (raw)
In-Reply-To: <1309563349.19567.26.camel@dwillia2-linux>

On Fri, 2011-07-01 at 16:35 -0700, Dan Williams wrote:
> James, please pull from:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/djbw/isci.git master
> 
> ...to receive the isci driver that supports the integrated 6Gb/s SAS
> capabilities of the upcoming Intel(R) C600 series chipset family.  This
> part is targeted at standard servers / workstations and provides
> up to 8-ports (2x4-port controllers) of SAS beyond the traditional SATA
> ports (surfaced by the ahci driver).
> 
> Since the last merge candidate [1], the driver has shed an additional
> 3,500 lines of code:

Look, this tree is unacceptable because

A. It's not bisectable.  This is what happens when I try a bisection:

HEAD is now at f6edc9b isci: unify constants
scripts/kconfig/conf --oldnoconfig Kconfig
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CC [M]  drivers/scsi/isci/init.o
In file included from drivers/scsi/isci/init.c:66:0:
drivers/scsi/isci/core/scic_controller.h:67:6: error: nested redefinition of 'enum sci_controller_mode'
drivers/scsi/isci/core/scic_controller.h:67:6: error: redeclaration of 'enum sci_controller_mode'
drivers/scsi/isci/isci.h:75:6: note: originally defined here
drivers/scsi/isci/core/scic_controller.h:68:2: error: redeclaration of enumerator 'SCI_MODE_SPEED'
drivers/scsi/isci/isci.h:76:2: note: previous definition of 'SCI_MODE_SPEED' was here
drivers/scsi/isci/core/scic_controller.h:69:2: error: redeclaration of enumerator 'SCI_MODE_SIZE'
drivers/scsi/isci/isci.h:77:2: note: previous definition of 'SCI_MODE_SIZE' was here
make[1]: *** [drivers/scsi/isci/init.o] Error 1
make: *** [drivers/scsi/isci/isci.ko] Error 2

And B. It's got contaminated history like this:

commit bf94796e9b00fa3cc6d5f8021ceb547312fbed78
Author: Jack Wang <jack_wang@usish.com>
Date:   Thu Dec 2 13:27:05 2010 -0800

    [SCSI] libsas: fix bug for vacant phy
    
    This patch fix bug reported by Chuck. And this new version incorporate comments
    from Hannes. Please consider to include it into mainline.
    
    [ upstream: 2bc72c91 ]
    Signed-off-by: Jack Wang <jack_wang@usish.com>
    Signed-off-by: Lindar Liu <lindar_liu@usish.com>
    Tested-by: Chuck Tuffli <Chuck_Tuffli@pmc-sierra.com>
    Signed-off-by: James Bottomley <James.Bottomley@suse.de>

commit 258c6a82d41929cee8e357887a6ba0518fb4085f
Author: Dan Williams <dan.j.williams@intel.com>
Date:   Tue Nov 23 09:47:14 2010 -0800

    libsas: fix definition of wideport, include local sas address
    
    To date libsas has only looked at the attached sas address when
    determining the formation of wide ports.  The specification and some
    hardware expects that phys with different addresses will not form a wide
    port unless the local peer phys also match each other.  Introduce a flag
    to select stricter behavior at sas_register_ha() time.  The flag can be
    dropped once it is known that all libsas users expect the same behavior.
    
    Current drivers just initialize this field to zero and get the
    traditional behavior.
    
    [upstream: 00f0254ed9b19164d416dc2e3c2e81eda55a6faf]
    Reported-by: Patrick Thomson <patrick.s.thomson@intel.com>
    Cc: Jeff Skirvin <jeffrey.d.skirvin@intel.com>
    Cc: Jack Wang <jack_wang@usish.com>
    Signed-off-by: Dan Williams <dan.j.williams@intel.com>

commit 73782d7e0e27b4a8b285f56e2f2c11534e33239f
Author: Darrick J. Wong <djwong@us.ibm.com>
Date:   Tue Nov 23 09:48:34 2010 -0800

    libsas: Don't issue commands to devices that have been hot-removed
    
    sd will get hung up issuing commands to flush write cache if a SAS
    device behind the expander is unplugged without warning.  Change libsas
    to reject commands to domain devices that have already gone away.
    
    [maciej.trela@intel.com: removed setting ->gone in sas_deform_port() to
     permit sync cache commands at module removal]
    
    [upstream: 56dd2c0691a5a387b7b05835fe547dc6fade9407]
    Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
    linux-scsi-reference: <20071204223516.GA6767@tree.beaverton.ibm.com>
    Cc: Jeff Garzik <jeff@garzik.org>
    Cc: Brian King <brking@linux.vnet.ibm.com>
    Cc: Patrick Thomson <patrick.s.thomson@intel.com>
    Cc: Jeff Skirvin <jeffrey.d.skirvin@intel.com>
    Tested-by: Haipao Fan <haipao.fan@intel.com>
    Signed-off-by: Maciej Trela <maciej.trela@intel.com>
    Signed-off-by: Dan Williams <dan.j.williams@intel.com>

I need clean history and a bisectable tree ... By Sunday, since this has
to be in linux-next before the next kernel release, which will likely be
Monday.

Since the tree is huge, I don't think this is fixable in the timescale,
so just a single patch will do ... I can construct that, but I need the
change log from you, please.

James



  reply	other threads:[~2011-07-02 22:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-01 23:35 [GIT PULL] isci: sas controller driver for 3.0 Dan Williams
2011-07-02 22:45 ` James Bottomley [this message]
2011-07-03  2:43   ` Dan Williams
2011-07-03  5:16     ` James Bottomley
2011-07-03  5:46       ` Dan Williams
2011-07-03 11:37         ` Dan Williams
2011-07-03 19:14           ` James Bottomley
2011-07-04 13:45 ` Christoph Hellwig
2011-07-04 14:07   ` Douglas Gilbert
2011-07-04 14:38     ` Matthew Wilcox

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=1309646729.2554.17.camel@mulgrave \
    --to=james.bottomley@hansenpartnership.com \
    --cc=dan.j.williams@intel.com \
    --cc=dave.jiang@intel.com \
    --cc=dmilburn@redhat.com \
    --cc=ed.ciechanowski@intel.com \
    --cc=edmund.nadolski@intel.com \
    --cc=hare@suse.de \
    --cc=hch@lst.de \
    --cc=jacek.danecki@intel.com \
    --cc=jeff@garzik.org \
    --cc=jeffrey.d.skirvin@intel.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=torvalds@linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox