Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2995262ybb; Mon, 30 Mar 2020 17:58:42 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtsI8WI/y9saB4zRW3PkgfuSZACJy4wrjJQ+I7xoROl+5FNnHz2B8oZ1zKNSSUosLaR/YOk X-Received: by 2002:a05:6830:314e:: with SMTP id c14mr11618601ots.7.1585616322015; Mon, 30 Mar 2020 17:58:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585616322; cv=none; d=google.com; s=arc-20160816; b=hduTPVR2R88xg2K2YA9rnSBkyighKpx4RsDP0BBNqWBMpov397uIerftqpdlWEmA4I Cu9xNewqJwtr/ukCxOfVStPM9UfBw15ekDcyBpSMyLpUL17YlH5Y+dlYsgLs5GSe/pnE FAhh/AVrdt1Y5gsgmEp2Hzf5m7DqAk++Oi3C2oCq53I9uszzOO18I8zyP7d5zVWJ2fhm 5/VnSxydLiR/327D1PmtasFvcYlqpLy2mDhj9zZv+30/3iD9l3pPiz1GAB1WwFeV8CCy ElbNTnv2qWBG/lIOeQGMoHbFRlWxwfQgoPJFeEzjFedKEJa9C6Jx1GDS/ymGZ/7J5nqE oamw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=+vv75251JgtRcR9mp4vfTgsG/BYeL8touKbQwdq71Zk=; b=Iyd9LA9Zi2+0tOsW+YgynGalZS47ejc/b6ZqktjevLWcOmVnncyW2G6k+cFxk58eK0 qyB3v//+EvOXPF0BA2cu9RU06nobxtEC0/Nx6gbgsaX8kBMXH8hMeMujI2P4scF0yu+U ZxyPT0/4E0FlZk31gCdOnl3ExPG1Iz8zS1FrwTS4DujGx+tuYXDArCz6nv2MwFZJy2c7 WCG1BGKoeytPy+sAsW2DFW+nObZBYLROO7kNVShIiXzP2xfpRn1TzUP1y/1Ga5MbwBsC rLpnmdLfVTYuMH8eb3B2FYY2SL88RMNiObTiBpE43FGaRwvIEnTi3tuN5BRXC5EPf6d/ kRjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w6si3002767oic.186.2020.03.30.17.58.29; Mon, 30 Mar 2020 17:58:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729576AbgCaA6L (ORCPT + 99 others); Mon, 30 Mar 2020 20:58:11 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:58568 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729019AbgCaA6L (ORCPT ); Mon, 30 Mar 2020 20:58:11 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 2A4576F7089CB59F789B; Tue, 31 Mar 2020 08:58:06 +0800 (CST) Received: from [10.134.22.195] (10.134.22.195) by smtp.huawei.com (10.3.19.205) with Microsoft SMTP Server (TLS) id 14.3.487.0; Tue, 31 Mar 2020 08:58:05 +0800 Subject: Re: [PATCH] f2fs: prevent meta updates while checkpoint is in progress To: Sahitya Tummala , Jaegeuk Kim , CC: References: <1585219019-24831-1-git-send-email-stummala@codeaurora.org> From: Chao Yu Message-ID: <8e8c3fea-9471-ffd0-3817-06b31bc4289d@huawei.com> Date: Tue, 31 Mar 2020 08:58:04 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1585219019-24831-1-git-send-email-stummala@codeaurora.org> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.134.22.195] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/3/26 18:36, Sahitya Tummala wrote: > allocate_segment_for_resize() can cause metapage updates if > it requires to change the current node/data segments for resizing. > Stop these meta updates when there is a checkpoint already > in progress to prevent inconsistent CP data. > > Signed-off-by: Sahitya Tummala Reviewed-by: Chao Yu Thanks,