diff options
author | Chao Yu <chao2.yu@samsung.com> | 2015-09-30 11:38:48 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-10-10 01:20:55 +0200 |
commit | 5b7ee374144f8ef2db3e25d0d59a8ad83bb3cf33 (patch) | |
tree | 2262b10a4e6164f1ab375487e98ec21087bc39b1 /fs/f2fs/segment.c | |
parent | f2fs: use vmalloc to handle -ENOMEM error (diff) | |
download | linux-5b7ee374144f8ef2db3e25d0d59a8ad83bb3cf33.tar.xz linux-5b7ee374144f8ef2db3e25d0d59a8ad83bb3cf33.zip |
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>
Diffstat (limited to 'fs/f2fs/segment.c')
0 files changed, 0 insertions, 0 deletions