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,