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 03714339844 for ; Tue, 10 Feb 2026 21:28:32 +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=1770758913; cv=none; b=j9rzoEcO9pC702WNxoNCJIvjjngi3fXBtOPJHK1onEWX1n9gJqP9NiHt//lwFYZF1qVwgtBDbsC14KPmmNw5yzDeHkW4KY8JajYxnIuSIq59tKK5En16FozeVLslkfjJiuoAq95fxY61jD2O9C2xK/P5r0tfjlcDxjk4E+ryGLA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770758913; c=relaxed/simple; bh=lNhX9AaCYUnmW0RiYWtAj/u0M5kyqPMPmMR/hYV7mXM=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=rXotyup2BmgsaJrdn182ycLEfCjzF2bLRKbWVfVRkn3lDdDyExQjw13dOK0NdiIl3JNKqvLzGl0/pVJnSeFLtSoutEF+Mas1HCcrTm/+s9UPALhZer8JkzR3OmkLB+V0UtXoR3zg4bEIqeevVbD/O0gG9Vs2M+0W3jbXPUr6GXg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jq1WE+jq; 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="jq1WE+jq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8FC3BC16AAE; Tue, 10 Feb 2026 21:28:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1770758912; bh=lNhX9AaCYUnmW0RiYWtAj/u0M5kyqPMPmMR/hYV7mXM=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=jq1WE+jqMpT8FHAedYcZsVNBCSoThX6rAGoX9yGT1eEhLbMAcWZj74h4jrxm8dI4R HYQLiwJIy50RLaPRs7L/l7VoF3jYHTAyFVdtcoB5T+KqIJr1qvdjSPSjzhRxjnKRxj gya2AJGElcgZ2YFDgatpvzD1gJK4EBgez1eQFgZ1paJhQPbVwYl/6UnKYfF22YfitY PL94Vjsxs7VzQWWgUC2RtgeAYkEN8UC8u5PMzIzFiLscE3NRNTGbjIgDnFfT7qdTFv 3x5Mx8PKE0nvesiuKTNXi1bhe6dqAuhpaPQ+l+zqcRr1Ik4egNy9BGtQZEZ+hLAERj L0cE/ACu4LwjA== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 0B08E39E3B79; Tue, 10 Feb 2026 21:28:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [f2fs-dev] [PATCH v2] f2fs: optimize f2fs_overwrite_io() for f2fs_iomap_begin From: patchwork-bot+f2fs@kernel.org Message-Id: <177075890757.3671709.12809959884362894465.git-patchwork-notify@kernel.org> Date: Tue, 10 Feb 2026 21:28:27 +0000 References: <20260122104527.416871-1-youngjin.gil@samsung.com> In-Reply-To: <20260122104527.416871-1-youngjin.gil@samsung.com> To: Yeongjin Gil Cc: jaegeuk@kernel.org, chao@kernel.org, jyh429@gmail.com, linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, sj1557.seo@samsung.com Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Thu, 22 Jan 2026 19:45:27 +0900 you wrote: > When overwriting already allocated blocks, f2fs_iomap_begin() calls > f2fs_overwrite_io() to check block mappings. However, > f2fs_overwrite_io() iterates through all mapped blocks in the range, > which can be inefficient for fragmented files with large I/O requests. > > This patch optimizes f2fs_overwrite_io() by adding a 'check_first' > parameter and introducing __f2fs_overwrite_io() helper. When called from > f2fs_iomap_begin(), we only check the first mapping to determine if the > range is already allocated, which is sufficient for setting > map.m_may_create. > > [...] Here is the summary with links: - [f2fs-dev,v2] f2fs: optimize f2fs_overwrite_io() for f2fs_iomap_begin https://git.kernel.org/jaegeuk/f2fs/c/d860974a7e38 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html