All of lore.kernel.org
 help / color / mirror / Atom feed
From: FUJITA Tomonori <tomof@acm.org>
To: James.Bottomley@SteelEye.com
Cc: jeff@garzik.org, matthew@wil.cx, tomof@acm.org,
	akpm@linux-foundation.org, linux-scsi@vger.kernel.org,
	linux-kernel@vger.kernel.org, fujita.tomonori@lab.ntt.co.jp
Subject: Re: queued patches for SCSI for 2.6.24
Date: Wed, 26 Sep 2007 12:55:43 +0900	[thread overview]
Message-ID: <20070925092106U.tomof@acm.org> (raw)
In-Reply-To: <1190778353.8707.29.camel@localhost.localdomain>

On Tue, 25 Sep 2007 22:45:53 -0500
James Bottomley <James.Bottomley@SteelEye.com> wrote:

> On Tue, 2007-09-25 at 23:34 -0400, Jeff Garzik wrote:
> > Matthew Wilcox wrote:
> > > On Tue, Sep 25, 2007 at 10:37:33PM -0400, Jeff Garzik wrote:
> > >> Are there any const-ness worries for scsi_host_template, or plans for 
> > >> the future?  I do not see any other examples of the host template 
> > >> members getting modified.
> > > 
> > > Goodness, Jeff, you haven't looked too hard.  There's dozens of examples
> > > I've come across trawling the horrible unmaintained drivers.  I'd love
> > > to see scsi_host_template become const, but it's not happening any time
> > > soon, and we can address this little piece when the time comes.
> > 
> > Well, sure, the driver is the owner of that memory.
> > 
> > We're talking about common code.
> > 
> > If everybody agrees SHT is R/W in the core, Fujita-san's patch is fine.
> 
> Well, I don't like mucking with the template either.
> 
> This whole mess is generated basically because the zero default of the
> template should be treated as initiator.  How about this, which makes
> that manifest?

But how can we handle dual-mode drivers?

luce:/sys/class/scsi_host/host0$ cat supported_mode
Initiator, Target


The values are not enumerated. They are like FC_PORT_ROLE.

  parent reply	other threads:[~2007-09-26  3:56 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-26  1:00 queued patches for SCSI for 2.6.24 James Bottomley
2007-09-26  1:05 ` David Miller
2007-09-26  1:09 ` Boaz Harrosh
2007-09-26  1:28 ` FUJITA Tomonori
2007-09-26  1:28   ` FUJITA Tomonori
2007-09-26  1:42   ` James Bottomley
2007-09-26  2:12     ` FUJITA Tomonori
2007-09-26  2:37       ` Jeff Garzik
2007-09-26  2:52         ` FUJITA Tomonori
2007-09-26  2:56         ` Matthew Wilcox
2007-09-26  3:34           ` Jeff Garzik
2007-09-26  3:38             ` Matthew Wilcox
2007-09-26  3:45             ` James Bottomley
2007-09-26  3:55               ` Jeff Garzik
2007-09-26  3:55               ` FUJITA Tomonori [this message]
2007-09-26  4:01                 ` James Bottomley
2007-09-26  4:10                   ` FUJITA Tomonori
2007-09-26  4:56               ` FUJITA Tomonori
2007-09-26 14:07                 ` James Bottomley
2007-09-26  8:50 ` Stefan Boresch
2007-09-26 11:15   ` 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=20070925092106U.tomof@acm.org \
    --to=tomof@acm.org \
    --cc=James.Bottomley@SteelEye.com \
    --cc=akpm@linux-foundation.org \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --cc=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=matthew@wil.cx \
    /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.