diff options
| author | Chao Yu <yuchao0@huawei.com> | 2017-10-09 17:55:19 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-11-15 21:50:13 -0800 |
| commit | 85853e7e38d7691ae9d41ef7ed4579313b857584 (patch) | |
| tree | 52a757ec5faee88d6a3163c280f63a7b7116c9bf /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 0c47a892d555f0bcf6613c6b85a6e95d92c55973 (diff) | |
f2fs: fix to avoid race when accessing last_disk_size
last_disk_size could be wrong due to concurrently updating, so using
i_sem semaphore to make last_disk_size updating exclusive to fix this
issue.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
