From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933078AbZKXUjr (ORCPT ); Tue, 24 Nov 2009 15:39:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932801AbZKXUjq (ORCPT ); Tue, 24 Nov 2009 15:39:46 -0500 Received: from cantor.suse.de ([195.135.220.2]:34947 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932611AbZKXUjp (ORCPT ); Tue, 24 Nov 2009 15:39:45 -0500 Date: Tue, 24 Nov 2009 21:39:44 +0100 From: Jan Kara To: Alan Stern Cc: Jan Kara , Boaz Harrosh , tmhikaru@gmail.com, Kernel development list , USB list , Jens Axboe , SCSI development list , linux-ext4@vger.kernel.org Subject: Re: Weird I/O errors with USB hard drive not remounting filesystem readonly Message-ID: <20091124203944.GD16662@quack.suse.cz> References: <20091124195607.GC16662@quack.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 24-11-09 15:13:01, Alan Stern wrote: > On Tue, 24 Nov 2009, Jan Kara wrote: > > > After digging in block layer code, it's as we suspected: > > In case of host error DID_ERROR (which is our case), scsi request is > > retried iff it is not a FAILFAST request which is set if bio is doing > > readahead... So this is explained and everything behaves as it should. > > Thanks everybody involved :). > > Okay, very good. There remains the question of the disturbing error > messages in the system log. Should they be supressed for FAILFAST > requests? I think it's useful they are there because ultimately, something really went wrong and you should better investigate. BTW, "end_request: I/O error" messages are in the log even for requests where we retried and succeeded... Honza