aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHans Holmberg <[email protected]>2018-01-05 14:16:11 +0100
committerJens Axboe <[email protected]>2018-01-05 08:50:12 -0700
commitb36bbf9d4f731269b4fe88e1060af1e8c28b7972 (patch)
treecb8027e0f3bb2ad1bdf293f7e243f4e8fa1e4f7d /tools/perf/scripts/python/export-to-postgresql.py
parent533657c190e5a94e585e08d1c4bdd2295c76391a (diff)
lightnvm: pblk: prevent premature sync point resets
Unless we protect flush pointer updates with a lock, we risk resetting new flush points before we've synced all sectors up to that point. This patch protects new flush points with the same spin lock that is being held when advancing the sync pointer and resetting completed flush points. Signed-off-by: Hans Holmberg <[email protected]> Signed-off-by: Javier González <[email protected]> Signed-off-by: Matias Bjørling <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions