Searched hist:"5 b7ee374144f8ef2db3e25d0d59a8ad83bb3cf33" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/f2fs/ |
H A D | debug.c | diff 5b7ee374144f8ef2db3e25d0d59a8ad83bb3cf33 Wed Sep 30 04:38:48 CDT 2015 Chao Yu <chao2.yu@samsung.com> 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>
|
H A D | f2fs.h | diff 5b7ee374144f8ef2db3e25d0d59a8ad83bb3cf33 Wed Sep 30 04:38:48 CDT 2015 Chao Yu <chao2.yu@samsung.com> 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>
|