aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-02-03 16:03:43 +0100
committerJens Axboe <[email protected]>2023-02-03 08:20:04 -0700
commit178fa7d49815ea8001f43ade37a22072829fd8ab (patch)
treea27898ff8fedf946256c22264c8fb9d05371858d /tools/perf/scripts/python/failed-syscalls-by-pid.py
parenta886001c2da8dd02357d0d336ddb021903347f89 (diff)
blk-cgroup: delay blk-cgroup initialization until add_disk
There is no need to initialize the cgroup code before the disk is marked live. Moving the cgroup initialization earlier will help to have a fully initialized struct device in the gendisk for the cgroup code to use in the future. Similarly tear the cgroup information down in del_gendisk to be symmetric and because none of the cgroup tracking is needed once non-passthrough I/O stops. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Andreas Herrmann <[email protected]> Acked-by: Tejun Heo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions