aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLuis Chamberlain <[email protected]>2021-09-27 15:02:56 -0700
committerJens Axboe <[email protected]>2021-10-18 14:41:37 -0600
commit4e9abe72530a2baf5f80d60e8d0bcdb84964d2e4 (patch)
tree78173b2e5545d67aced29974c63aee9faf4f273e /tools/perf/scripts/python
parentb76a30c254d987b4ae7d47415081121d4c0a7423 (diff)
swim: add helper for disk cleanup
Disk cleanup can be shared between exit and bringup. Use a helper to do the work required. The only functional change at this point is we're being overly paraoid on exit to check for a null disk as well now, and this should be safe. We'll later expand on this, this change just makes subsequent changes easier to read. Signed-off-by: Luis Chamberlain <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions