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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id A1747E7719F for ; Mon, 13 Jan 2025 13:50:12 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1tXKpY-0001qZ-2I; Mon, 13 Jan 2025 13:50:12 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1tXKpS-0001qJ-AI for linux-f2fs-devel@lists.sourceforge.net; Mon, 13 Jan 2025 13:50:06 +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: From:References:To:Subject:Cc:MIME-Version:Date:Message-ID:Sender:Reply-To: 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=nGBq0YvBYCjXy18vyg3KopuJBvi6Jd6WSpQn4cZHH34=; b=H6VazTbHgb9SJKVxQt4QxgMkoT /54t4YR43iaHczb/fEJvB7yINcIe/u3MSfYP/mSQX1wAfn68w1xQ99HRMhlNK2kgygbt2HqzpJaHZ jtSoFxnwITc0KDuiUgF/YObrAllQOgn6aQB9zNqMu68JN1gk1fofAwhrQ/CsXvBt5vW8=; 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:From:References:To: Subject:Cc:MIME-Version:Date:Message-ID:Sender:Reply-To: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=nGBq0YvBYCjXy18vyg3KopuJBvi6Jd6WSpQn4cZHH34=; b=HpAsUg9TzvSX7i120/6NnYHPV0 MXGG0cjWmjfd2NU0erWKNtTdWAjU6sX4ZgskRNoiw0z/EEMOLjX46uWuL3DiesXpUNvw7NVFwsE/n IlvA8KnNa/RyUFxb/Sj3NPvT5sVqfOy1XeitF6Tetlr0r/d4xwMph+AXlPVekhff3T+I=; Received: from nyc.source.kernel.org ([147.75.193.91]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1tXKpQ-0006jp-Eu for linux-f2fs-devel@lists.sourceforge.net; Mon, 13 Jan 2025 13:50:06 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 84C8CA40FC3; Mon, 13 Jan 2025 13:48:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39CFCC4CED6; Mon, 13 Jan 2025 13:49:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736776198; bh=NV+fMuqxSRQnIPeBuoXSCl1lXf1W3Kt9I7rOIL7DD/w=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=YoIHSbErQ4gmYyl2P5CDX/KvKEIug7BG4EYNTYgJJgTcX2sVhQIXMtOyLN2LLXYPu HoH808V2wUs5zxoXiSAMeApvMcmc5P4MWNxH2enmOE5WFd8CWfC32fTEFPv3XdB49o MJT5tZZq+mg8VCtQfDTTaoQ7RmX1FaKyR43c6Ev0ErPu+wlbGrfsdUvnduloEng4Yu hHt1T0EgAJyY9N+O9aU0QyKNcxaMFoK2A0kTZNcjUmHb0vkGq8cxKuwA84wEpV2Vuh +fTKngE0FNTMLZc+zlqsAUnxJdacgF0HvqoPYEjgVpa0TrJVA+rFA4XtSFexZRj48f MhYhIfbCiJWfw== Message-ID: <3e059dd1-ff49-42b2-a39f-ca38079870a8@kernel.org> Date: Mon, 13 Jan 2025 21:49:52 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Yi Sun , jaegeuk@kernel.org References: <20241223081044.1126291-1-yi.sun@unisoc.com> <20241223081044.1126291-4-yi.sun@unisoc.com> Content-Language: en-US In-Reply-To: <20241223081044.1126291-4-yi.sun@unisoc.com> X-Headers-End: 1tXKpQ-0006jp-Eu Subject: Re: [f2fs-dev] [PATCH v4 3/4] f2fs: add parameter @len to f2fs_invalidate_blocks() 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: , From: Chao Yu via Linux-f2fs-devel Reply-To: Chao Yu Cc: ke.wang@unisoc.com, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, sunyibuaa@gmail.com, Hao_hao.Wang@unisoc.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On 2024/12/23 16:10, Yi Sun wrote: > New function can process some consecutive blocks at a time. > > Function f2fs_invalidate_blocks()->down_write() and up_write() > are very time-consuming, so if f2fs_invalidate_blocks() can > process consecutive blocks at one time, it will save a lot of time. > > Signed-off-by: Yi Sun 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D123B22CF0B for ; Mon, 13 Jan 2025 13:49:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736776198; cv=none; b=jFSk6O9oWePHbMRqVb/pOK4sNySWRu9tQ1BKDK95DKUK0y6gCgtJXLz6TWdqd8lV3HYMxE43BiUoLyR/mqE/7z32ADI3FlxeYHCCF4/lpcVyh9sbte3+nEngrk8akLfFYQCUzT3z4/gMwEktzJ5R0p7dGAtdKInrqLyyFpZlG8E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736776198; c=relaxed/simple; bh=NV+fMuqxSRQnIPeBuoXSCl1lXf1W3Kt9I7rOIL7DD/w=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=lcSCQV+efEEHEnlDGx93z50z4k2e7am2fXiYetd0bcNMcd94IOOOuT/UWhg6JgyaDjPi4I9Ykz9n9Urfw16y+Q1fLISaITmZma05ZSujH16We3ShTI6j8U/CCJ8bSPQzmrr9P/FjQWSvlNnNnePcQU0EIdIO7QQQubqgD95l26k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YoIHSbEr; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YoIHSbEr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39CFCC4CED6; Mon, 13 Jan 2025 13:49:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736776198; bh=NV+fMuqxSRQnIPeBuoXSCl1lXf1W3Kt9I7rOIL7DD/w=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=YoIHSbErQ4gmYyl2P5CDX/KvKEIug7BG4EYNTYgJJgTcX2sVhQIXMtOyLN2LLXYPu HoH808V2wUs5zxoXiSAMeApvMcmc5P4MWNxH2enmOE5WFd8CWfC32fTEFPv3XdB49o MJT5tZZq+mg8VCtQfDTTaoQ7RmX1FaKyR43c6Ev0ErPu+wlbGrfsdUvnduloEng4Yu hHt1T0EgAJyY9N+O9aU0QyKNcxaMFoK2A0kTZNcjUmHb0vkGq8cxKuwA84wEpV2Vuh +fTKngE0FNTMLZc+zlqsAUnxJdacgF0HvqoPYEjgVpa0TrJVA+rFA4XtSFexZRj48f MhYhIfbCiJWfw== Message-ID: <3e059dd1-ff49-42b2-a39f-ca38079870a8@kernel.org> Date: Mon, 13 Jan 2025 21:49:52 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: chao@kernel.org, sunyibuaa@gmail.com, linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, niuzhiguo84@gmail.com, Hao_hao.Wang@unisoc.com, ke.wang@unisoc.com Subject: Re: [PATCH v4 3/4] f2fs: add parameter @len to f2fs_invalidate_blocks() To: Yi Sun , jaegeuk@kernel.org References: <20241223081044.1126291-1-yi.sun@unisoc.com> <20241223081044.1126291-4-yi.sun@unisoc.com> Content-Language: en-US From: Chao Yu In-Reply-To: <20241223081044.1126291-4-yi.sun@unisoc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/12/23 16:10, Yi Sun wrote: > New function can process some consecutive blocks at a time. > > Function f2fs_invalidate_blocks()->down_write() and up_write() > are very time-consuming, so if f2fs_invalidate_blocks() can > process consecutive blocks at one time, it will save a lot of time. > > Signed-off-by: Yi Sun Reviewed-by: Chao Yu Thanks,