Re: [Patch] QLogic qla2x00 driver fixes

2005-02-28 Thread Doug Ledford
On Fri, 2005-02-25 at 09:02 -0800, Patrick Mansfield wrote: On Fri, Feb 25, 2005 at 06:57:39AM -0500, Doug Ledford wrote: On Fri, 2005-02-25 at 03:38 -0500, Jeff Garzik wrote: Arjan van de Ven wrote: On Thu, 2005-02-24 at 23:21 -0500, Doug Ledford wrote: Don't use

Re: [Patch] QLogic qla2x00 driver fixes

2005-02-25 Thread Jeff Garzik
Arjan van de Ven wrote: On Thu, 2005-02-24 at 23:21 -0500, Doug Ledford wrote: Don't use cmd-request-nr_hw_segments as it may not be initialized (SG_IO in particular bypasses anything that initializes this and just uses scsi_do_req to insert a scsi_request directly on the head of the queue)

Re: [Patch] QLogic qla2x00 driver fixes

2005-02-25 Thread Doug Ledford
On Fri, 2005-02-25 at 03:38 -0500, Jeff Garzik wrote: Arjan van de Ven wrote: On Thu, 2005-02-24 at 23:21 -0500, Doug Ledford wrote: Don't use cmd-request-nr_hw_segments as it may not be initialized (SG_IO in particular bypasses anything that initializes this and just uses scsi_do_req to

[Patch] QLogic qla2x00 driver fixes

2005-02-24 Thread Doug Ledford
Don't use cmd-request-nr_hw_segments as it may not be initialized (SG_IO in particular bypasses anything that initializes this and just uses scsi_do_req to insert a scsi_request directly on the head of the queue) and a bogus value here can trip up the checks to make sure that the number of

Re: [Patch] QLogic qla2x00 driver fixes

2005-02-24 Thread Jeff Garzik
Doug Ledford wrote: Don't use cmd-request-nr_hw_segments as it may not be initialized (SG_IO in particular bypasses anything that initializes this and just uses scsi_do_req to insert a scsi_request directly on the head of the queue) and a bogus value here can trip up the checks to make sure that