On Fri, Feb 23, 2024 at 3:20 AM Keith Busch <kbusch@xxxxxxxx> wrote: > > From: Keith Busch <kbusch@xxxxxxxxxx> > > 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 <conradmeyer@xxxxxxxx> > Signed-off-by: Keith Busch <kbusch@xxxxxxxxxx> Looks fine, Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx>