From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Christie Subject: Re: [PATCH 4/5] convert st to use scsi_execte_async Date: Sat, 17 Sep 2005 10:43:56 -0500 Message-ID: <432C39BC.1030105@cs.wisc.edu> References: <1126845599.9276.44.camel@max> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from sabe.cs.wisc.edu ([128.105.6.20]:38864 "EHLO sabe.cs.wisc.edu") by vger.kernel.org with ESMTP id S1751173AbVIQRoD (ORCPT ); Sat, 17 Sep 2005 13:44:03 -0400 In-Reply-To: Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Kai Makisara Cc: linux-scsi@vger.kernel.org Kai Makisara wrote: > > I think I may have found the problem: scsi_execute_async does not use the > parameter retries (the same applies to scsi_execute btw). This leads to > retrying the reads at filemark and this is not correct. I added the hack > below to scsi_execute_async and after this the simple tests succeed. ah ok. I think when we prep the command we need to copy the retries from the command. So in st.c st_init_command callout we need to copy that value (we are just copying the timeout today).