Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp514071pxu; Tue, 1 Dec 2020 17:50:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwfBLjpIkcB8bX4ikr0zXsc9IBseJyzwojEUaaw8vVLYR9YHiKYnVOUwF0uzAgwYUy6GcxR X-Received: by 2002:a17:906:7cc6:: with SMTP id h6mr172742ejp.161.1606873856721; Tue, 01 Dec 2020 17:50:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606873856; cv=none; d=google.com; s=arc-20160816; b=tkqClUqEMVySckNvosAZhx65tQ8V62KRxTzgjwDGWXDqsIFpNyAnfHrGyMND1tpW0c im1+jYtfU+SHNs0/yrsZIZ2UWBuKHUjt4gJMFdTwdfWREboVJ8lnwfnnj/ZqnowdQDKL I/QLVkDJkEGG3XSYDkOA691ZBzPoFLx7o7DIR63ldGw39BhJLm5PjwD/dMYq7jFkj42C a58wpp7cPvP9/Cy3lBGZeC0Ji+Qs9N4uI3NN1qaW7tOJmlKQJ0veyaXXwryBMvdL5CV4 ytzFfe9szMt2z1wKUoHffH4mlIzEb15VE/1MRYq+dvC48UzV+AfWcP1x7TVmkbWmaFAs 8kZA== 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=hoG5stGjlwmGvvC2zhs8tjsR5p0nI8qOabEUAfti5EU=; b=fyyiqDNpjc72jclWVhVyfj6Eh4Qj4dwKMxWWvFJRdkV/tRLXM4I4TQH/eMfymOK2UX hjhu5GkwJnVKk9FaK9nK2aBY4+P+wTo9qTXsge/lUNi7KR7i5XckmvdK+kEGDD7H178R RaMSWOqRQ6gIlCDlYjQut+szYlav5wRbxgs6pJf0+InWMTJ4jjlz6JBMxqNbnRz90Vwx ZFF/3CGbujo7VdMKevG9TC3K4NNJ6egk+N7JoQD3uQ6kBd5M8kNoSDdSKcsPrYD+qEo6 fVlYj3Jd61xGtbpbkkzHQdG5+DW7YXSdmWRpczcUvtLpHvuWFX0mK710sw4TwnzBI0Vp zPZg== 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 dx21si1280660ejb.197.2020.12.01.17.50.32; Tue, 01 Dec 2020 17:50:56 -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 S1727748AbgLBBsQ (ORCPT + 99 others); Tue, 1 Dec 2020 20:48:16 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:8550 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726023AbgLBBsQ (ORCPT ); Tue, 1 Dec 2020 20:48:16 -0500 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Cm1zq6NYNzhl3K; Wed, 2 Dec 2020 09:47:03 +0800 (CST) Received: from [10.136.114.67] (10.136.114.67) by smtp.huawei.com (10.3.19.206) with Microsoft SMTP Server (TLS) id 14.3.487.0; Wed, 2 Dec 2020 09:47:25 +0800 Subject: Re: [f2fs-dev] [PATCH 4/4] f2fs: remove buffer_head which has 32bits limit To: Jaegeuk Kim , , CC: Light Hsieh , Linux F2FS Dev Mailing List References: <20201126022416.3068426-1-jaegeuk@kernel.org> <20201126022416.3068426-4-jaegeuk@kernel.org> <20201201040924.GB3858797@google.com> From: Chao Yu Message-ID: <7ce64222-cda4-6ad5-9246-c176998b79bb@huawei.com> Date: Wed, 2 Dec 2020 09:47: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: <20201201040924.GB3858797@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: >> This patch removes buffer_head dependency when getting block addresses. >> Light reported there's a 32bit issue in f2fs_fiemap where map_bh.b_size is >> 32bits while len is 64bits given by user. This will give wrong length to >> f2fs_map_block. >> >> Reported-by: Light Hsieh >> Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Thanks,