Skip to content
Commit f2d03d89 authored by Lars Ellenberg's avatar Lars Ellenberg Committed by Jens Axboe
Browse files

lru_cache: use atomic operations when accessing lc->flags, always



Or, depending on the way locking is implemented at the call sites,
some updates could be lost (has not been observed).

Signed-off-by: default avatarLars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: default avatarChristoph Böhmwalder <christoph.boehmwalder@linbit.com>
Link: https://lore.kernel.org/r/20221122134301.69258-2-christoph.boehmwalder@linbit.com
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent d4b2e0d4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment