linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Boaz Harrosh <bharrosh@panasas.com>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: scsi: Drivers not ready for sg-chaining
Date: Sun, 10 Feb 2008 18:36:17 +0200	[thread overview]
Message-ID: <47AF2801.5060806@panasas.com> (raw)
In-Reply-To: <1202660210.3136.51.camel@localhost.localdomain>

On Sun, Feb 10 2008 at 18:16 +0200, James Bottomley <James.Bottomley@HansenPartnership.com> wrote:
> On Sun, 2008-02-10 at 18:08 +0200, Boaz Harrosh wrote:
>> My patches *do not* attempt to fix the sg_chaining support. They only
>> make all the drivers that use SG_ALL to use SCSI_MAX_SG_SEGMENTS.
>> One by One, and not globally as your suggestion.
> 
> Yes, I know ... but it does need fixing for the listed drivers.

That is another patchset that its time as not yet come.
Once every thing settles I will send these too.
That's why I put the list as a reminder for me to check upon later.
 
> 
>> This is for two reasons.
>> 1. So drivers can be individually fixed and in the patch that fixes them
>>    they can go back to SG_ALL.
> 
> No, it's so SG_ALL can mean use chaining ... I'm not sure that's
> desirable for the default value.  Particularly for devices that key
> internal sglist arrays off SG_ALL
> 

I have fixed *all* these drivers that are based off SG_ALL for table sizes,
and all other reasons. exactly so the SG_ALL will continue to mean what
it means in English. (And this was triggered by your request)

>> 2. Those drivers that have been using SG_ALL correctly and were converted
>>    to support sg-chaining are not penalized because of bad/old drivers
> 
> I don't see they're penalised this way either ... they just have to set
> a higher value in their host template.
> 

It was you who wanted that to be SG_ALL. I wanted just an hard coded = ~0.

>> 3. Some drivers in this patchset are converted to use a real internal
>>    driver limit. That does not necessarily match SCSI_MAX_SG_SEGMENTS.
>>    In the event that SCSI_MAX_SG_SEGMENTS wants to change.
> 
> Yes, I looked at those they're all either safe or currently (eventually)
> do the right thing.
> 

What ??

>> The bulk of the patchset is very much mechanical and is not dangerous
>> and was ACKed by the more important maintainers. (That is where the
>> changes are more then trivial). So I don't see why they cannot get
>> a proper review and be accepted. Instead of doing the safe but the
>> wrong thing, cross tree.
> 
> What's wrong about this?
> 

I don't want to repeat myself. If it's fine with you, I trust your
final judgment. You are welcome to submit a patch that fixes all the
good drivers that are regressed by your suggestion.

> James
> 
> 

Boaz

  reply	other threads:[~2008-02-10 16:36 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-17 16:37 [patch 0/8] Change SG_ALL to mean "any size" Boaz Harrosh
2008-01-17 16:41 ` [PATCH 1/8] firewire: ieee1394: Move away from SG_ALL Boaz Harrosh
2008-01-17 17:51   ` Stefan Richter
2008-01-19  7:59     ` Stefan Richter
2008-01-19 15:01       ` James Bottomley
2008-01-19 15:16         ` Stefan Richter
2008-01-17 16:44 ` [PATCH 2/8] scsi-drivers Don't use SG_ALL as allocation size Boaz Harrosh
2008-01-17 17:47   ` Andrew Vasquez
2008-01-17 18:11     ` Boaz Harrosh
2008-01-17 18:30       ` Andrew Vasquez
2008-01-17 18:57   ` [PATCH 2/8 ver2] " Boaz Harrosh
2008-01-17 16:46 ` [PATCH 3/8] NCR5380: Not sg-chain ready Boaz Harrosh
2008-01-17 16:48 ` [PATCH 4/8] wd33c93: " Boaz Harrosh
2008-01-17 16:49 ` [PATCH 5/8] arm/scsi: " Boaz Harrosh
2008-01-17 16:51 ` scsi: Drivers not ready for sg-chaining Boaz Harrosh
2008-02-10 15:42   ` James Bottomley
2008-02-10 16:08     ` Boaz Harrosh
2008-02-10 16:16       ` James Bottomley
2008-02-10 16:36         ` Boaz Harrosh [this message]
2008-02-10 16:53           ` James Bottomley
2008-01-17 16:53 ` [PATCH 7/8] a100u2w: advansys: initio: Wrong use of SG_ALL Boaz Harrosh
2008-01-17 16:55 ` [PATCH 8/8] Change SG_ALL to mean "any size" Boaz Harrosh
2008-01-17 17:53 ` [patch 0/8] " Stefan Richter

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=47AF2801.5060806@panasas.com \
    --to=bharrosh@panasas.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=linux-scsi@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).