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 A8FA47081A for ; Mon, 11 May 2026 01:42:02 +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=1778463722; cv=none; b=oE1jvrTIOYXCKRPggj9F6jO2CveRHNkfvDvfd/8GJzUBpWwhqsxjbGYHwuj960WhP6Y77NZy2geM9NnySCFvK0pipXOtNDMV85ze1x/eA+OPfcYEqPHMtR5X8aJ9wH7qkOcoqnXInfE9se5/6g07yWO4NKDRiK0gjI8RG40NEL0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778463722; c=relaxed/simple; bh=dEWMu3ZTX7n5r6KyC8BEC3tfcFnDX5cw7H1+Yq2uGZU=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=auEnDBHOekwNy2+FwYfry6VGNQJ2hnl6AdnhnJE2GcZ2zvEJcOmcM51bekhuLRS8Y5Cs5Ovn7h/4b7wxqMMhBmwZqjHr+4nSCsb8wNCI+MTaz5Eo5XoO1VgZF3venFu3thbP7Hu1YTyvKpsqRf6qHDODr7Y9At2RBXNa/hDle44= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gOq4n+zi; 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="gOq4n+zi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6CFA7C2BCB8; Mon, 11 May 2026 01:42:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1778463722; bh=dEWMu3ZTX7n5r6KyC8BEC3tfcFnDX5cw7H1+Yq2uGZU=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=gOq4n+zi4mGjbjkxtKEo7xl99ruQGOEbVwVQWx/hxpqgHHSFeMCVWp0lpfYfeyJx1 cFf9ZRiOeIZ1MUn9ysbYEvYCK56paCDaz/h0p7xM9oHB9iIevP+EXKg2EiP0P1sx0+ fCgcuTJM+/U3LvLXLJKl+PfivOr0CirGPuYWxvSeQpHdLsjdQK9J5zoPUSrclw4OGS kDDP/1wB0WTB2dO93SOu+78R9Jvzm96LHzZBMa6xgYljvSVMDHUVjS57V5klgYxh1M fV/RADeeR7FKn6aPiVZFf0o5xEHAuZ8VeEsGuxyPQhaFHOQKS09jyq1ks/z3U0ucc4 m5zHILauVk/SQ== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id B9F7B3930039; Mon, 11 May 2026 01:41:10 +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] f2fs: annotate lockless NAT counter reads From: patchwork-bot+f2fs@kernel.org Message-Id: <177846366929.1975880.13898644322342059326.git-patchwork-notify@kernel.org> Date: Mon, 11 May 2026 01:41:09 +0000 References: <20260505125510.1369132-1-zzzccc427@gmail.com> In-Reply-To: <20260505125510.1369132-1-zzzccc427@gmail.com> To: Cen Zhang Cc: jaegeuk@kernel.org, chao@kernel.org, baijiaju1990@gmail.com, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Tue, 5 May 2026 20:55:10 +0800 you wrote: > nat_cnt[] is updated while callers hold nat_tree_lock, but F2FS samples > the counters locklessly in f2fs_available_free_memory(), > excess_dirty_nats(), and excess_cached_nats(). Those helpers only steer > cache reclaim and background sync heuristics; they do not control NAT > entry lifetime or checkpoint correctness. > > Document the intent with data_race(READ_ONCE()) and a short comment > instead of adding locking to the balance path. > > [...] Here is the summary with links: - [f2fs-dev] f2fs: annotate lockless NAT counter reads https://git.kernel.org/jaegeuk/f2fs/c/e2b659d3f6ce You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html