f2fs: use atomic64_t for extent cache hit stat
authorChao Yu <chao2.yu@samsung.com>
Wed, 30 Sep 2015 09:38:48 +0000 (17:38 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 9 Oct 2015 23:20:55 +0000 (16:20 -0700)
commit5b7ee374144f8ef2db3e25d0d59a8ad83bb3cf33
tree2262b10a4e6164f1ab375487e98ec21087bc39b1
parent39307a8e2459ecdee9f1bc0b8a5d7af4a6d8f754
f2fs: use atomic64_t for extent cache hit stat

Our hit stat of extent cache will increase all the time until remount,
and we use atomic_t type for the stat variable, so it may easily incur
overflow when we query extent cache frequently in a long time running
fs.

So to avoid that, this patch uses atomic64_t for hit stat variables.

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