]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
f2fs: use atomic_t to record hit ratio info of extent cache
authorChao Yu <chao2.yu@samsung.com>
Wed, 15 Jul 2015 09:29:49 +0000 (17:29 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 5 Aug 2015 15:08:06 +0000 (08:08 -0700)
commit727edac572034557d207b293a47de25145e3d58c
tree984e7ceae8a02605c0626375f26abab96126c440
parentd5e8f6c9800c382cc55d8df801775d51311f8f21
f2fs: use atomic_t to record hit ratio info of extent cache

Variables for recording extent cache ratio info were updated without
protection, this patch tries to alter them to atomic_t type for more
accurate stat.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/debug.c
fs/f2fs/extent_cache.c
fs/f2fs/f2fs.h