public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: SCSI development list <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH 4/7] Fix various bugs in the target code
Date: Tue, 11 Aug 2009 10:15:01 -0500	[thread overview]
Message-ID: <1250003701.4301.31.camel@mulgrave.site> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0908111109470.2562-100000@iolanthe.rowland.org>

On Tue, 2009-08-11 at 11:12 -0400, Alan Stern wrote:
> On Mon, 10 Aug 2009, James Bottomley wrote:
> 
> > > 	scsi_sysfs_add_sdev() would call transport_configure_device()
> > > 	for a target each time a new device was added under that
> > > 	target.  The call has been moved to scsi_target_add(), where
> > > 	it will be made only once.
> > 
> > That, unfortunately is an SPI required feature ... we can't actually
> > configure the target until we have a device because of the way SPI
> > parameters work.
> 
> Would it be sufficient to call transport_configure_device() only the
> first time a device is added?

No, because of renegotiations ... it would be sufficient only to call it
the last time a device is added, but we don't know when that will be.

James



  reply	other threads:[~2009-08-11 15:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-10 15:08 [PATCH 4/7] Fix various bugs in the target code Alan Stern
2009-08-10 15:53 ` James Bottomley
2009-08-10 19:05   ` Alan Stern
2009-08-11 15:12   ` Alan Stern
2009-08-11 15:15     ` James Bottomley [this message]
2009-08-12 18:31   ` Alan Stern
  -- strict thread matches above, loose matches on Subject: below --
2009-08-13 14:25 Alan Stern

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=1250003701.4301.31.camel@mulgrave.site \
    --to=james.bottomley@hansenpartnership.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=stern@rowland.harvard.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