aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-06-01 11:44:48 +0200
committerJens Axboe <[email protected]>2023-06-05 10:53:04 -0600
commita4f75764d16bed317276b05a9fe2c179ef61680d (patch)
tree5bc303347f23ff209210b382c7b6d8f2b3bcf3b8 /tools/perf/scripts/python
parent66fddc25fe182fd7d28b35f4173113f3eefc7fb5 (diff)
block: avoid repeated work in blk_mark_disk_dead
Check if GD_DEAD is already set in blk_mark_disk_dead, and don't duplicate the work already done. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Jan Kara <[email protected]> Acked-by: Christian Brauner <[email protected]> Acked-by: Dave Chinner <[email protected]> Reviewed-by: Dave Chinner <[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