diff options
author | Keith Busch <[email protected]> | 2024-02-23 07:59:10 -0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-02-24 12:46:46 -0700 |
commit | 8a08c5fd89b447a7de7eb293a7a274c46b932ba2 (patch) | |
tree | d7c9d860ed39b9419d0bf674ddb89976962e54a6 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | 0eb4db4706603db09644ec3bc9bb0d63ea5d326c (diff) |
blk-lib: check for kill signal
Some of these block operations can access a significant capacity and
take longer than the user expected. A user may change their mind about
wanting to run that command and attempt to kill the process and do
something else with their device. But since the task is uninterruptable,
they have to wait for it to finish, which could be many hours.
Check for a fatal signal at each iteration so the user doesn't have to
wait for their regretted operation to complete naturally.
Reported-by: Conrad Meyer <[email protected]>
Tested-by: Nilay Shroff <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions