From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76FE0C34026 for ; Tue, 18 Feb 2020 16:27:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4A88324656 for ; Tue, 18 Feb 2020 16:27:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582043275; bh=mNJcY1SbcjkvSzHthVNhrlPKPPGc3shV2dfOwIBOXqE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=vdOBhctnFaViQNrUxMC9vIbPaermgcPVJDJWp09Xb1885Ab49wq+UF++aEi0bQyHi LTdVY6rbmaYKskhkcg7fQw1iKEKU5/3LkytNRlBZSuN0HFdXLO06Dj4UHnIho6M2iv G8Dtsd30lL8pujAkht2upj1s73HUho4/sz4sC6WM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726486AbgBRQ1y (ORCPT ); Tue, 18 Feb 2020 11:27:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:54814 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726422AbgBRQ1y (ORCPT ); Tue, 18 Feb 2020 11:27:54 -0500 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 06CA122B48; Tue, 18 Feb 2020 16:27:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582043274; bh=mNJcY1SbcjkvSzHthVNhrlPKPPGc3shV2dfOwIBOXqE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Y5NEd63TAWgr7RSZDyAnzcKgtM01NaEjhgU85vmxUBRQh8d3tNIYSualjD0b1pDNx y6Om7pEpWqLuDkjbrG638U0kiQ62KFJlLpwNUtaTOWpPyvn3PKyPcBgBM432EaBZ7R /obcjjXe7Sz9huOMpcOQr5Bm71krOp8vFqbcGoEU= Date: Tue, 18 Feb 2020 11:27:52 -0500 From: Sasha Levin To: "zhangyi (F)" Cc: gregkh@linuxfoundation.org, stable@vger.kernel.org, jack@suse.cz, tytso@mit.edu Subject: Re: [PATCH 5.4 1/2] jbd2: move the clearing of b_modified flag to the journal_unmap_buffer() Message-ID: <20200218162752.GN1734@sasha-vm> References: <20200218105953.10684-1-yi.zhang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20200218105953.10684-1-yi.zhang@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, Feb 18, 2020 at 06:59:52PM +0800, zhangyi (F) wrote: >[ Upstream commit 6a66a7ded12baa6ebbb2e3e82f8cb91382814839 ] > >There is no need to delay the clearing of b_modified flag to the >transaction committing time when unmapping the journalled buffer, so >just move it to the journal_unmap_buffer(). > >Link: https://lore.kernel.org/r/20200213063821.30455-2-yi.zhang@huawei.com >Reviewed-by: Jan Kara >Signed-off-by: zhangyi (F) >Signed-off-by: Theodore Ts'o >Cc: stable@kernel.org I've queued all backports to their respective branches, thank you! -- Thanks, Sasha