aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2014-02-20 18:08:52 +0800
committerJosef Bacik <jbacik@fb.com>2014-03-10 15:16:40 -0400
commit48cab2e0714913a63155f800a55609a4ff6a36b9 (patch)
tree1767dcb212dc53386e30e4bafa13b1bc8f475785 /tools/perf/scripts/python/export-to-postgresql.py
parentBtrfs: use ACCESS_ONCE to prevent the optimize accesses to ->last_trans_log_full_commit (diff)
downloadlinux-dev-48cab2e0714913a63155f800a55609a4ff6a36b9.tar.xz
linux-dev-48cab2e0714913a63155f800a55609a4ff6a36b9.zip
Btrfs: fix the skipped transaction commit during the file sync
We may abort the wait earlier if ->last_trans_log_full_commit was set to the current transaction id, at this case, we need commit the current transaction instead of the log sub-transaction. But the current code didn't tell the caller to do it (return 0, not -EAGAIN). Fix it. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions