From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iReAv-0007qU-Kn for barebox@lists.infradead.org; Mon, 04 Nov 2019 15:21:51 +0000 Date: Mon, 4 Nov 2019 16:21:48 +0100 From: Marco Felsch Message-ID: <20191104152148.ldmh3rrnuvcciksi@pengutronix.de> References: <1572018968-343065-1-git-send-email-r.karszniewicz@phytec.de> <20191104094250.wn2ib2fs7hspacou@pengutronix.de> <20191104145448.7b4g4qmadpyxaygj@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] usb: storage: Increase retries for usb_stor_transport() To: Robert Karszniewicz Cc: barebox@lists.infradead.org Hi Robert, On 19-11-04 15:59, Robert Karszniewicz wrote: > On 11/4/19 3:54 PM, Marco Felsch wrote: > > Hi Sascha, > > > > On 19-11-04 10:42, Sascha Hauer wrote: > > > On Fri, Oct 25, 2019 at 05:56:08PM +0200, Robert Karszniewicz wrote: > > > > This should make writing and reading more reliable. > > > > > > > > Also: > > > > - change loop condition to make "retries" semantically correct > > > > - add a debug message in case of fatal failure > > > > --- > > > > We've had problems writing (and even reading) a 10 MiB file from barebox > > > > to multiple USB flash drives. > > > > The 10 MiB file copy failed with "write: I/O error" almost every time. > > > > Increasing the retry count made 100 MiB file copies succeed every time. > > > > > > > > > > Doing this doesn't hurt, so I applied this patch. I wonder though if > > > there's something else wrong which makes increasing the retry counts > > > necessary. > > > > > > Sascha > > > > there is a missing sob is that okay with you? Robert can you add a > > signed-off-by line? > > > > Oops, I'm sorry for that! How do we handle this? Should I just amend and > resubmit the patch? Resend as you already did is fine :) else you could reply with your sob-tag. Regards, Marco > > Regards, > > Marco > > > > _______________________________________________ > > barebox mailing list > > barebox@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/barebox > > > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox