All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Christie <michaelc@cs.wisc.edu>
To: Jeremy Linton <jli@greshamstorage.com>
Cc: linux-scsi@vger.kernel.org, dougg@torque.net
Subject: Re: [Bug 7026] CD/DVD burning with USB writer doesn't work
Date: Wed, 06 Dec 2006 19:40:16 -0600	[thread overview]
Message-ID: <45777100.5060304@cs.wisc.edu> (raw)
In-Reply-To: <45776CBF.5000209@cs.wisc.edu>

Mike Christie wrote:
> Jeremy Linton wrote:
>> On Wednesday 06 December 2006 17:42, Jeremy Linton wrote:
>>> On Wednesday 06 December 2006 16:50, Mike Christie wrote:
>>>>> For iscsi, we could negotiate a value like MaxBurstLength which says
>>>>> don't send commands with a payload larger than that size. I would guess
>>>>> other transports have something similar. We have to check or make sure
>>> ...
>>>
>>>> Oh yeah the exception I am thinking about may not be max sectors exactly
>>>> but something close like iscsi's MaxBurstLength limit. Maybe iscsi LLDs
>>>> are supposed to be translating that iscsi limit to max_sectors in which
>>>> case we are talking about the same thing. For this limit we do not want
>>> 	Sort of off topic, but the iSCSI MaxBurstLength doesn't set the max
>>> transfer size, it simply is the amount of data that can be sent without a
>>> R2T. If the transfer is larger then you have to wait for the R2T. In
>>> practice it ends up controlling the _minimum_ amount of buffer space that
>>> needs to be available _before_ the transfer starts, otherwise performace
>>> sucks.
>> 	Whops, Slight clarification, the MaxBurstLength is the max sent between R2T's 
>> what I described above is closer to the FirstBurstLength. What you guys are 
> 
> I should have clarified this would have been a workaround for some bad
> targets, but I hoped could be more useful for other transports that
> needed it for valid reasons.
> 
> The MaxBurstLength length limits what can be transferred in sequence of
> data-in pdus _or_ like you describe a solicited data out sequence,
> doesn't it (see section 12.13)? We are more concerned with the data-in
> sequence here. If we have a READ of 1048576 bytes and a
> MaxBurstLength=524288 some targets were getting confused and instead of
> splitting up the transfer into multiple sequences it would assume there
> could be one sequence. So for those targets the MaxBurstLength becomes
> the max we can read and targets do fun things like drop connections if
> we send them something larger.
> 
> Oh the flip side, targets also end up sending us more than
> MaxBurstLength bytes between r2ts. 

And actually, I think there was a target that bugged out when we tried
to send it a WRITE that was larger than MaxBurstLength. I do not
remember though.

  reply	other threads:[~2006-12-07  1:40 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
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 [this message]
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=45777100.5060304@cs.wisc.edu \
    --to=michaelc@cs.wisc.edu \
    --cc=dougg@torque.net \
    --cc=jli@greshamstorage.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 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.