On Thu, Jun 08, 2006 at 01:40:01PM -0400, James Bottomley wrote: > On Sat, 2006-06-03 at 13:21 +0200, Christoph Hellwig wrote: > > Various scsi drivers use scsi_cmnd.buffer and scsi_cmnd.bufflen in their > > queuecommand functions. Those fields are internal storage for the > > midlayer only and are used to restore the original payload after > > request_buffer and request_bufflen have been overwritten for EH. Using > > the buffer and bufflen fields means they do very broken things in error > > handling. > > We probably need this too, don't we? At this point both values are always the same. The patch I sent is just driver fixes, all the core changes are in the second patch I sent out as an rfc. - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html