Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp272723pxv; Thu, 24 Jun 2021 07:38:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0YNN++EtxVzb4QzN9yiwD4W3+6VtxGvBG+3osOqZOL2se/vyWA+sM6xdUppPc5hL4yCyt X-Received: by 2002:a50:ff01:: with SMTP id a1mr7484845edu.253.1624545484342; Thu, 24 Jun 2021 07:38:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624545484; cv=none; d=google.com; s=arc-20160816; b=H4vBX23sisi9Dq2lGEy3wgdtTUkyPaSEYN20fKam1FdNWp+QbGdU3MHi/4j52xFJKL mjPS21eiB+yGJcL0HQY9jOtvnsVT+UsN8B9tA1lQWrFOGHBebYCwDeZDcHVVyukJswHE 1F7MeXMZ7qNRY8Dn5xfcZB052tptkYDT5aqpChXu1s4mkiUw75AsC90bxLl8nm7p0Ifc EtLjjYznWsj7wfPlnQvzOttn1tanNitJqGZcQKL/S76Lj2ujXd6jC9z+Qf7/Onq5wxRM GL4igoY7mpcjgT8dSGzCE8difiibtaG6pIhy6Xm0qLZaoWGdRI8WbbpWYAejX0Bj98/j 9usw== 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=MQW5zrY4LEZXXZdcxBuAZI57ohIVvOYZrB/u4Vmt/KM=; b=N7F2iRuLes9cxxWM3EBf+0INlP6nmgCpDHASTC/XVyIllPb/aAmPiRvdoyfLJr8M2q QVbm6FWxvMJo2H1jVcLLMN/Y8vqbolfCvSdW37/KHx4Y2CaecHczIcPr49usPB1n3UiI 2XzLIiJpR0IkLOFvkkhDvQS9BrczChXMCyUiUEIjNUkrJpp5X4yu4uwAg3P622z6NQXK L73x7c6iONqAJjmd79Q+vd2xqcTbkSWEHhYbOmwgUvcQK6xjpVInxHaZHiEVNDEqNcsV WfU/kz4bKOeULoQLnLSaHde73yrzaN8uJkIRzdudK/i2jqcowaSvc9ijhetXwHMbx+Ma dCaA== 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 zg9si3492791ejb.622.2021.06.24.07.37.41; Thu, 24 Jun 2021 07:38:04 -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 S231978AbhFXOjD (ORCPT + 99 others); Thu, 24 Jun 2021 10:39:03 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:53524 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230170AbhFXOjD (ORCPT ); Thu, 24 Jun 2021 10:39:03 -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 15OEZhuf006166 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 24 Jun 2021 10:35:44 -0400 Received: by cwcc.thunk.org (Postfix, from userid 15806) id B2A6115C3CD7; Thu, 24 Jun 2021 10:35:43 -0400 (EDT) Date: Thu, 24 Jun 2021 10:35:43 -0400 From: "Theodore Ts'o" To: Zhang Yi Cc: linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, jack@suse.cz, adilger.kernel@dilger.ca, david@fromorbit.com, hch@infradead.org Subject: Re: [RFC PATCH v4 3/8] jbd2: don't abort the journal when freeing buffers Message-ID: References: <20210610112440.3438139-1-yi.zhang@huawei.com> <20210610112440.3438139-4-yi.zhang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210610112440.3438139-4-yi.zhang@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Thu, Jun 10, 2021 at 07:24:35PM +0800, Zhang Yi wrote: > Now that we can be sure the journal is aborted once a buffer has failed > to be written back to disk, we can remove the journal abort logic in > jbd2_journal_try_to_free_buffers() which was introduced in > commit c044f3d8360d ("jbd2: abort journal if free a async write error > metadata buffer"), because it may cost and propably is not safe. > > Signed-off-by: Zhang Yi > Reviewed-by: Jan Kara Applied, thanks. - Ted