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=-13.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 8D58AC433F5 for ; Thu, 9 Sep 2021 05:28:59 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 550F86103E for ; Thu, 9 Sep 2021 05:28:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 550F86103E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1mOCcL-00041N-N5; Thu, 09 Sep 2021 05:28:57 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOCcA-00041E-5b for linux-f2fs-devel@lists.sourceforge.net; Thu, 09 Sep 2021 05:28:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=U30ad2F+EtyUgYP04KMvAw0CSRRYDeqqgpNzyyPl4Ng=; b=lNyqlvPbpmt3FJx5ML0J52qkpS ISngy2qS1+F4XOGh5G8d7iWswihKvQsth/CpRklZRPJ2dT5TrDyTy4gaOIDP/NtxjODUVQQRSnFcS yT6mytJqORy+sxchCegX0rfmi+uoUwveH39qYVK20vBO7NA1/pIAOGt7H5XKfzBq0RD4=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=U30ad2F+EtyUgYP04KMvAw0CSRRYDeqqgpNzyyPl4Ng=; b=ZsbJhPB7iSF5/Z8ZnpKZXi6rCr ZFDwPZmsZmJHVzJ+1bpUM57TTKkN4a7Tq/NaS7v1YCUUXGeeGveIfkCdFQlXS2NUR6X84euzaVHPJ t+MIeBNgMmn96YSdX6oXrAeOU5yd8x4EV25eQTElDCZlcZKvcDz4xOZE1TeOu9Yvla60=; Received: from mail.kernel.org ([198.145.29.99]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) id 1mOCc8-0005gv-SW for linux-f2fs-devel@lists.sourceforge.net; Thu, 09 Sep 2021 05:28:46 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5F4D86103E; Thu, 9 Sep 2021 05:28:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631165319; bh=JBYEvUU/jP+Gm4/gW+xvo3rz5yQoWysX7uaXBTr4pOU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DvYIK5rnPz6Lk122E3ki56xeVkn56Gl7J8l3A0L+RTlke7pB0xQqudMDpkffCip1F 4ssZhxrjsqKATZ9bM1/IgdaU2Mlg41EDV+bVlGop0l8gP3zPplrru/k3dJjRlEt1SW /Qq1kyVI6HfLegXQSyI2a9RvPidzj5Tx1mcBngb4Rb+dQhdXTruDKlohZc3b3TH5bM 40mqTcRnixZ9wdXn7mDOZvdy1l2aANpqxcHTjYZxaXVlbjf6mSBH3qUwtihwaVAOul qsYKk/C4dkRVCtxP0B82mEL7jvXA8klbpva8PicE319KRyCXc1DDLzZsB7Rxgy+Uz7 jfdhjhduYfCTQ== Date: Wed, 8 Sep 2021 22:28:37 -0700 From: Jaegeuk Kim To: Greg KH Message-ID: References: <20210908220020.599899-1-jaegeuk@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Headers-End: 1mOCc8-0005gv-SW Subject: Re: [f2fs-dev] [PATCH] f2fs: guarantee to write dirty data when enabling checkpoint back X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: stable@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On 09/09, Greg KH wrote: > On Wed, Sep 08, 2021 at 03:00:20PM -0700, Jaegeuk Kim wrote: > > From: Jaegeuk Kim > > > > commit dddd3d65293a52c2c3850c19b1e5115712e534d8 upstream. > > > > We must flush all the dirty data when enabling checkpoint back. Let's guarantee > > that first by adding a retry logic on sync_inodes_sb(). In addition to that, > > this patch adds to flush data in fsync when checkpoint is disabled, which can > > mitigate the sync_inodes_sb() failures in advance. > > > > Reviewed-by: Chao Yu > > Signed-off-by: Jaegeuk Kim > > --- > > fs/f2fs/file.c | 5 ++--- > > fs/f2fs/super.c | 11 ++++++++++- > > 2 files changed, 12 insertions(+), 4 deletions(-) > > What stable kernel(s) are you wanting to have this backported to? 5.10 please. > > thanks, > > greg k-h _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel