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=-10.7 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,NICE_REPLY_A,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 66099C432BE for ; Fri, 27 Aug 2021 14:36:23 +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 286526056C; Fri, 27 Aug 2021 14:36:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 286526056C 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-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1mJcxx-0002Tb-8r; Fri, 27 Aug 2021 14:36:21 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJcxv-0002TF-LR for linux-f2fs-devel@lists.sourceforge.net; Fri, 27 Aug 2021 14:36:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: 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=g0v+9Ynu1o7/Jj8FR3TsbELtvV1ccH9t4wPnsv+y0+I=; b=Qpnb8OuXfJQ8EqSuxQ5+FrNBFc I2hTxMt0DnC0wz7rig1Ogy+nm5V3jVKNkJ+fKl0f7wtYIEjx69c+RgzWP9CN04SFe/KNA5t9Lafx1 uwhqKDWs3xMShm5bsf24KrCPPKxF37IqOlURLPwelQJw4PWlc/o038PvxrjmJHw9xUgk=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: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=g0v+9Ynu1o7/Jj8FR3TsbELtvV1ccH9t4wPnsv+y0+I=; b=BQt31NlNx5ybMP7WATR8gURsxc g4h3OXrkmcpXM7gP5uh7DhXys+3qkaznrZpcPXO8v1hnw8rzWBByEyjWXxCE3wyVkUcdc1X2ac499 5VwY/wClz6SQ4mm32eHA8FESgwD666M2peqeuR8CRwR5olQ4HLF6VppmVUY6HFhdrQt0=; Received: from mail.kernel.org ([198.145.29.99]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) id 1mJcxv-003RKy-1j for linux-f2fs-devel@lists.sourceforge.net; Fri, 27 Aug 2021 14:36:19 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id D99B66056C; Fri, 27 Aug 2021 14:36:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1630074969; bh=z3xfp8u4+uJOQSeXp4ZKSEbEw8WZb1aXyFXJc6oIpG4=; h=Subject:To:References:From:Date:In-Reply-To:From; b=dYmTbIIQ3V/GB/pyfrw44fA+njyeg9YIDkkhKtbZOwMwmEyvY5i9gmTVNAnYzfp53 o1scZZUjlKKZgDNGTlV96Kk5JRMqkWZEqsQI4zDYrLHsCOTgKRmCqzikmYYk1ngMQT 2ObUaRu/jY8MqzTs9XCu6cOZ+GnP5UouxVjy7+RXW3cpuAPFsu0lYbgAWfLgZ1BI6P YzEnPV7ifnUUqFcPjeu57khSMpyqGYyiw4Qy1LH8p08XEOOUoINfMwW7cjuVSS/eoO 6dYj0IGPQ4jflCvy8FikX45XEnISMUHI1HcVCnKtE3CueNq7TsKEJbFVPIjAQTAQU4 4rGwtPj0o8CiQ== To: Jaegeuk Kim , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net References: <20210823170151.1434772-1-jaegeuk@kernel.org> From: Chao Yu Message-ID: Date: Fri, 27 Aug 2021 22:36:06 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Headers-End: 1mJcxv-003RKy-1j Subject: Re: [f2fs-dev] [PATCH v3] f2fs: don't ignore writing pages on fsync during checkpoint=disable 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On 2021/8/27 0:52, Jaegeuk Kim wrote: > From 64fe93a7f9c35c2b5a34cfa3cf84158852c201be Mon Sep 17 00:00:00 2001 > From: Jaegeuk Kim > Date: Thu, 19 Aug 2021 14:00:57 -0700 > Subject: [PATCH] f2fs: guarantee to write dirty data when enabling checkpoint > back > > 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. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Thanks, _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel