aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNikos Tsironis <[email protected]>2019-03-17 14:22:57 +0200
committerMike Snitzer <[email protected]>2019-04-18 16:18:29 -0400
commitf79ae415b64c35d9ecca159fe796cf98d2ff9e9c (patch)
tree83b3ccd0c5cb27d1b696602c57834d003b8bcc65 /tools/perf/scripts/python/export-to-postgresql.py
parent4ad8d880b6c4497e365fb6fd16bab52e9974a3f6 (diff)
dm snapshot: Make exception tables scalable
Use list_bl to implement the exception hash tables' buckets. This change permits concurrent access, to distinct buckets, by multiple threads. Also, implement helper functions to lock and unlock the exception tables based on the chunk number of the exception at hand. We retain the global locking, by means of down_write(), which is replaced by the next commit. Still, we must acquire the per-bucket spinlocks when accessing the hash tables, since list_bl does not allow modification on unlocked lists. Co-developed-by: Ilias Tsitsimpis <[email protected]> Signed-off-by: Nikos Tsironis <[email protected]> Acked-by: Mikulas Patocka <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions