diff options
| author | Cen Zhang <zzzccc427@gmail.com> | 2026-05-05 15:55:10 +0300 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2026-06-22 22:52:34 +0300 |
| commit | fb645a976f53b175a49bdf52cfcd2c56f4b1456a (patch) | |
| tree | d9f3b02adc35369eb53b5450cc91dad4c514ced0 /scripts/Makefile.thinlto | |
| parent | b952837f734c3a627877bf922408dac04588a643 (diff) | |
| download | linux-fb645a976f53b175a49bdf52cfcd2c56f4b1456a.tar.xz | |
f2fs: annotate lockless NAT counter reads
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.
Signed-off-by: Cen Zhang <zzzccc427@gmail.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
