Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4306103pxu; Tue, 1 Dec 2020 01:26:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJyIixOb5HRpV0Y1OY6ePIcDHj4tH+YAa4wf2YzfK1QMTKPEqrpY5MFMPmSRcf9+nhnu2uAA X-Received: by 2002:a05:6402:b4c:: with SMTP id bx12mr2051881edb.196.1606814801633; Tue, 01 Dec 2020 01:26:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606814801; cv=none; d=google.com; s=arc-20160816; b=plXUlKAqfwkT70abGKkEJ0ydLQnB09pwgvzTlrvT3I9zb13BOKSdr3z4csJh7tsR8q RabA/vR96m+0UY2lcrEvzZVN4wgpcfUKZH26mx4S71dSDwK9ztj3GXkLYZ0yUmo3cRG1 fTUyU9ULJaP2Z0SbLUxAmE9Y6vM8fK/4zlBaMW2iu/omfT7DhIdzLefNHYah0Xu2gGL4 ZORgpF0qk+WPPuC/RIcr/X/4sTfSaYdFEG9GgL9HE7N01FGRK6d2OELexNxFmCr0Pw3+ Uw12yZQInaIX/zKDRgU8LErrwYyTxE2R76o8oYwbLDQRDXDoft77x3dkcc61AD7DStBb N94g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=SANmq8K1CrivA5RvCxUjxXRUUdd5ZO5p966zibpNwAM=; b=BDvlDDaOuYExgSf0ZGgPwcgym9P5HvLfGbkYhyjF02OwoSPnRCdC6GywK/eHTDggLj L7hTjsL2rsTJATUV5O4PHORTH3muZWYXeSwICpOXzjl0tvWVNG1xfbmwUxTdspqHmCKF 5IVdjz3H/Zs9ivx9etVLbcpuoKZDGJ8XSKP+UG2PeldwS9ec5mIk/Z/5ifoAIuuln8Sg 6a9wKhNhkQYx54NnvQPzwgK2qH/Nyh451VekwSru+wc0Pscy/IbZiP0kmkqWJl7qPE0N nAgTp71v/PCD9xr/uqjvHEo9E+AIY3UQRJHcGAVIZ5XHwiDpehCSGem4AplJTICAY7mR bseA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e23si774744edy.101.2020.12.01.01.26.19; Tue, 01 Dec 2020 01:26:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388883AbgLAJGu (ORCPT + 99 others); Tue, 1 Dec 2020 04:06:50 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:8543 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388884AbgLAJEi (ORCPT ); Tue, 1 Dec 2020 04:04:38 -0500 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Clbjt0pWgzhlRL; Tue, 1 Dec 2020 17:03:30 +0800 (CST) Received: from [10.136.114.67] (10.136.114.67) by smtp.huawei.com (10.3.19.201) with Microsoft SMTP Server (TLS) id 14.3.487.0; Tue, 1 Dec 2020 17:03:23 +0800 Subject: Re: [f2fs-dev] [PATCH 3/4] f2fs: fix wrong block count instead of bytes To: Jaegeuk Kim , , CC: Linux F2FS Dev Mailing List References: <20201126022416.3068426-1-jaegeuk@kernel.org> <20201126022416.3068426-3-jaegeuk@kernel.org> <20201201040935.GC3858797@google.com> From: Chao Yu Message-ID: <7f10f16c-b406-f21c-fd11-ea0fb7707ea0@huawei.com> Date: Tue, 1 Dec 2020 17:03:24 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20201201040935.GC3858797@google.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.136.114.67] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/12/1 12:09, Jaegeuk Kim wrote: > On 11/25, Jaegeuk Kim wrote: >> We should convert cur_lblock, a block count, to bytes for len. >> >> Signed-off-by: Jaegeuk Kim Fixes: af4b6b8edf6a ("f2fs: introduce check_swap_activate_fast()") Reviewed-by: Chao Yu Thanks,