All of lore.kernel.org
 help / color / mirror / Atom feed
From: Douglas Gilbert <dougg@torque.net>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: Joerg Schilling <Joerg.Schilling@fokus.fraunhofer.de>,
	stern@rowland.harvard.edu, schilling@fokus.fraunhofer.de,
	linux-scsi@vger.kernel.org, dgilbert@interlog.com
Subject: Re: [Bug 7026] CD/DVD burning with USB writer doesn't work
Date: Wed, 06 Dec 2006 11:57:05 -0500	[thread overview]
Message-ID: <4576F661.2000802@torque.net> (raw)
In-Reply-To: <1165421548.2810.17.camel@mulgrave.il.steeleye.com>

James Bottomley wrote:
> On Wed, 2006-12-06 at 00:14 +0100, Joerg Schilling wrote:
>> Well, accept the patch if it works.
> 
> It's not about work/not work: it's about correctness.
> 
>>  And in case that you don't like it, make sure that the _parameter_ is
>> moved to where it belongs: to the low level transport layer.
> 
> It's not a low level property; it's a property of the generic queue,
> namely the maximum request size.  It exists for devices independent of
> SCSI (i.e. you'll want it for IDE and weirder transport attachment CDs
> as well).

Too much smoke and mirrors.

That maximum request size comes from the transport ** and
in many cases is a kludge between maximum, optimal and
defensive. The block paradigm is wrong for a pass through
because it requests transports to guess a "maximum",
trying to head off errors that the block layer isn't
particularly well equipped to handle at run time.

On the other hand a pass through gets layered error reporting.
So if a host (and/or its LLD driver) doesn't like the
size (or shape) of data to be sent/received with a
command, then it can say so (and I don't mean EIO or
ENOMEM). That leaves the ball in the court of the pass
through user. Perhaps in this case sysfs could be
useful. The problem may be transient.


** as always the OS could have run out of resources (e.g. ram)
   but again that is most likely transient.

Doug Gilbert




  reply	other threads:[~2006-12-06 16:57 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-04 20:11 [Bug 7026] CD/DVD burning with USB writer doesn't work Alan Stern
2006-12-04 21:07 ` James Bottomley
2006-12-05 20:52   ` Alan Stern
2006-12-05 21:50     ` James Bottomley
2006-12-05 22:46       ` Joerg Schilling
2006-12-05 22:58         ` James Bottomley
2006-12-05 23:14           ` Joerg Schilling
2006-12-06 16:12             ` James Bottomley
2006-12-06 16:57               ` Douglas Gilbert [this message]
2006-12-06 21:34                 ` Mike Christie
2006-12-06 21:46                   ` Alan Stern
2006-12-07 10:34                     ` Joerg Schilling
2006-12-07 18:27                       ` Alan Stern
2006-12-08 12:45                         ` Joerg Schilling
2006-12-08 15:46                           ` Alan Stern
2006-12-06 22:50                   ` Mike Christie
2006-12-06 23:42                     ` Jeremy Linton
2006-12-06 23:55                       ` Jeremy Linton
2006-12-07  1:22                         ` Mike Christie
2006-12-07  1:40                           ` Mike Christie
2006-12-07  2:05                           ` Mike Christie
2006-12-06 17:42               ` Joerg Schilling
2006-12-06 16:32             ` Alan Stern
2006-12-06 16:47               ` James Bottomley
2006-12-06 17:21                 ` Alan Stern
2006-12-06 17:25                   ` James Bottomley
2006-12-06 18:58                     ` Alan Stern
2006-12-06 19:13                       ` James Bottomley
2006-12-06 20:31                         ` Alan Stern
2007-01-08 16:19                         ` Alan Stern
2007-01-08 16:25                           ` James Bottomley
2007-01-24 20:36                             ` Alan Stern
2007-01-08 19:24                           ` Jens Axboe
2006-12-06 17:51                   ` Joerg Schilling
2006-12-06 17:49                 ` Joerg Schilling
2006-12-06 17:59                   ` James Bottomley
2006-12-06 18:38                     ` Douglas Gilbert
2006-12-06 18:50                       ` James Bottomley
2006-12-06 20:04                         ` Douglas Gilbert
2006-12-06 18:48                     ` Joerg Schilling
2006-12-06 18:43                 ` Douglas Gilbert
2006-12-05 21:55     ` Douglas Gilbert
2006-12-05 23:08       ` Joerg Schilling
2006-12-05 22:35     ` Joerg Schilling
2006-12-05 23:03     ` Joerg Schilling
  -- strict thread matches above, loose matches on Subject: below --
2007-02-09 10:50 Joerg Schilling
2007-02-09 17:57 ` Alan Stern
2007-02-10  2:02   ` James Bottomley

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=4576F661.2000802@torque.net \
    --to=dougg@torque.net \
    --cc=James.Bottomley@SteelEye.com \
    --cc=Joerg.Schilling@fokus.fraunhofer.de \
    --cc=dgilbert@interlog.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=schilling@fokus.fraunhofer.de \
    --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 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.