Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3487979pxb; Tue, 20 Apr 2021 09:20:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfDzjrNfKfy4Aq385Fs7/TXO6Iaxti5+Ef/KmsyB8YaNKTCFFVuozhLGDg/eOKSz/0qcGd X-Received: by 2002:a17:907:33cb:: with SMTP id zk11mr29087196ejb.231.1618935632154; Tue, 20 Apr 2021 09:20:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618935632; cv=none; d=google.com; s=arc-20160816; b=hdtV7obwr8rGnCFYn3OH7cU4LncVGxFNWGOQkMAZi2ji2T0FESOjT6DK4ExiNPoMXI 2FWC7WAxJpG1J7MXiBguxK7c6Sv7OzX5XsFd5+ykLTHtcGCmt4Tr3DTGncT8wbgB3lj1 sQoHqpUQ78uofGggsx0nxFcnq5Zrb0Fm7iVxXlvUeihX4pV/9M0hASNSp11AkscKy57t uwq+CDKYFHJU2cNS0DUL+/7ELKgvuVtnoBur7aFGL+h1IxpEJ4EWQlqK75PhL2rtyand H3S5MuYh3kvc2eH4oUoccCLL9wXQxgrJx7fjxn5fqJh6aPBQzoJLTc64yaHbns0ULfID Etvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=XaP31F+/Aiz+teeTlwHG0ZkFTruhZMwI1QPng313o+0=; b=h2pnxeAPeQXFD6fMx6bWHz/Z5Bpn4pHmevHU+COISseT3FO8+6R1oOs/U3f2872brc d+V6oQX0AMfElJK9j0UDlV+kMyWOEouKKrG/0YqeThljwmNAWArUvsXS+LwywOJ+3f8C Z8tctTnLV/r4YdZ101IZUITWmVqPvhpEoY0As+nsv2E8b1rbmdZPzCAvbrptYTQs2wUi GTP8k0FnjFo/GOS2BOkMSTaRmeiLcAQw7LDQpVhRL4UU02fXdUta7IGIM4p8aZbrZK0x 3CGP3qRXpPZghpGGO4ZjD3g50tj5x9RDHlvePOMmzCe7nE1yA1tkYm4G7Efbv+o2JRxo Bctw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lw23si15018311ejb.107.2021.04.20.09.20.02; Tue, 20 Apr 2021 09:20:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233088AbhDTQUT (ORCPT + 99 others); Tue, 20 Apr 2021 12:20:19 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:51393 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232174AbhDTQUR (ORCPT ); Tue, 20 Apr 2021 12:20:17 -0400 Received: from cwcc.thunk.org (pool-72-74-133-215.bstnma.fios.verizon.net [72.74.133.215]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 13KGJRcM002876 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Apr 2021 12:19:27 -0400 Received: by cwcc.thunk.org (Postfix, from userid 15806) id 0FA6615C3B0D; Tue, 20 Apr 2021 12:19:27 -0400 (EDT) Date: Tue, 20 Apr 2021 12:19:27 -0400 From: "Theodore Ts'o" To: Haotian Li Cc: Ext4 Developers List , "harshad shirwadkar," , "liuzhiqiang (I)" , linfeilong Subject: Re: [PATCH] e2fsprogs: Try again to solve unreliable io case Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Apr 20, 2021 at 03:18:05PM +0800, Haotian Li wrote: > If some I/O error occured during e2fsck, for example the > fibre channel connections are flasky, the e2fsck may exit. > Try again in these I/O error cases may help e2fsck > successfully execute and fix the disk correctly. Why not fix this by retrying in the device driver instead? If the Fibre Channel is that flaky, then it's going to be a problem when the file system is mounted, so it would seem to me that fixing this in the kernel makes a lot more sense. - Ted