aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYu Kuai <[email protected]>2022-11-15 22:10:49 +0800
committerJens Axboe <[email protected]>2022-11-16 15:19:56 -0700
commitd563792c8933a810d28ce0f2831f0726c2b15a31 (patch)
tree76b50a7888501ffbebeb5d989166048258468bb3 /tools/perf/scripts/python/stackcollapse.py
parent7b5865831c1003122f737df5e16adaa583f1a595 (diff)
dm: make sure create and remove dm device won't race with open and close table
open_table_device() and close_table_device() is protected by table_devices_lock, hence use it to protect add_disk() and del_gendisk(). Prepare to track per-add_disk holder relations in dm. Signed-off-by: Yu Kuai <[email protected]> Reviewed-by: Mike Snitzer <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions