public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Boaz Harrosh <bharrosh@panasas.com>
Cc: linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: scsi: Drivers not ready for sg-chaining
Date: Sun, 10 Feb 2008 10:16:49 -0600	[thread overview]
Message-ID: <1202660210.3136.51.camel@localhost.localdomain> (raw)
In-Reply-To: <47AF2188.2030400@panasas.com>

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.

> 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

> 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.

> 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.

> 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?

James



  reply	other threads:[~2008-02-10 16:16 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 [this message]
2008-02-10 16:36         ` Boaz Harrosh
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=1202660210.3136.51.camel@localhost.localdomain \
    --to=james.bottomley@hansenpartnership.com \
    --cc=bharrosh@panasas.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