summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2018-10-22 04:12:51 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2018-10-23 03:53:48 +0300
commit4c58ed076875f36dae0f240da1e25e99e5d4afb8 (patch)
treefc4e43260670c1dfe95510e247be3597fb73b00b /tools/perf/scripts/python/export-to-postgresql.py
parentb93f654d73fa09088041efa77972b1d616a75fcb (diff)
downloadlinux-4c58ed076875f36dae0f240da1e25e99e5d4afb8.tar.xz
f2fs: fix to account IO correctly
Below race can cause reversed reference on dirty count, fix it by relocating __submit_bio() and inc_page_count(). Thread A Thread B - f2fs_inplace_write_data - f2fs_submit_page_bio - __submit_bio - f2fs_write_end_io - dec_page_count - inc_page_count Cc: <stable@vger.kernel.org> Fixes: d1b3e72d5490 ("f2fs: submit bio of in-place-update pages") 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