Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4251675ybv; Sun, 16 Feb 2020 17:42:23 -0800 (PST) X-Google-Smtp-Source: APXvYqyjnymvFCk5tBOx79ObMAs279Zbt7Pv1pcCZIWV4qogNLmyO28ncMVqlI2yvxu/arySPgdv X-Received: by 2002:a9d:2ae5:: with SMTP id e92mr10519209otb.72.1581903743451; Sun, 16 Feb 2020 17:42:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581903743; cv=none; d=google.com; s=arc-20160816; b=E0re+9PgCYLmsY2R6dIeSk+CDFlvtlmcY/XJgwmJu4cMeYqNKEWXNkTQy1GpvMzv// GFjZEjLJyYujoqDADzZwWCz6d+j6gtCBnIW80+YC74Kc4A/3A1AkV4GpMv15iCgEZgLn HMMvWop3kfVvzFUiUibT6AvIOXkSLblnu6XHbXaaWQyRRvZ2j2SAgIj4+hWVAsl7kIIP HDR7nTUgVQql9uFVdTBUnjnAF/XVYgoYqfY7IBOwIYZX8/JIIv2Haz4dWJTqI1lkMDKE CqPLl/uUA8rwr5XQHN3JHTkYW4J2EZG7AYFVxHR22wKUEEyxtj723dSFbw2FL9FrxYFv Zvdw== 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:to:subject; bh=sdcBFcMkWC+H7ppmepROKxtf7gmW2mzG/wJL+LjuL4o=; b=seIxt8CStlZXHgaytj+S6DbRAHdQhRnDlD2APGaDseg2LhIjNyCm5qIpypduUvg2PX H76mDK9t2hgqPmYKG9o5o9QprPGBHmVDVYm2EHJ6qEaXH66tRbiq+AudMfsAuuLbhc1r uUdCc9g9sN+75bZnD8tifz5Z5nYhr3XeX8y6lSNa+PyrmnrG4GDWXSCIki4qChELSM0g 4ZpByJZ4t8DoOy6fiq3JjU373eVncEIW/OXgD+f7XIeW9+1HBV/tEiodjUX+yXbCCCCn wR4N9AYnHgp2sIfhFaq9irT2xyStCIrPdRIsbJz1E6BOn5d0rQRnh1hPlrypYTdmHn0c KSGw== 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 k66si5864495oih.200.2020.02.16.17.42.11; Sun, 16 Feb 2020 17:42:23 -0800 (PST) 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 S1726656AbgBQBl3 (ORCPT + 99 others); Sun, 16 Feb 2020 20:41:29 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:52266 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726240AbgBQBl3 (ORCPT ); Sun, 16 Feb 2020 20:41:29 -0500 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 829ABD3BC88F46282400; Mon, 17 Feb 2020 09:41:26 +0800 (CST) Received: from [10.134.22.195] (10.134.22.195) by smtp.huawei.com (10.3.19.210) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 17 Feb 2020 09:41:22 +0800 Subject: Re: [f2fs-dev] [PATCH 2/3] f2fs: add migration count iff migration happens To: Jaegeuk Kim , , References: <20200214185855.217360-1-jaegeuk@kernel.org> <20200214185855.217360-2-jaegeuk@kernel.org> From: Chao Yu Message-ID: <8cf3cc00-db01-0ee8-9b0c-d4e16d5018a0@huawei.com> Date: Mon, 17 Feb 2020 09:41:22 +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: <20200214185855.217360-2-jaegeuk@kernel.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/2/15 2:58, Jaegeuk Kim wrote: > If first segment is empty and migration_granularity is 1, we can't move this > at all. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Thanks,