]> git.ipfire.org Git - thirdparty/linux.git/commit
dm: make "dmsetup remove_all" interruptible
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 18 Mar 2026 14:31:55 +0000 (15:31 +0100)
committerMikulas Patocka <mpatocka@redhat.com>
Wed, 18 Mar 2026 18:27:30 +0000 (19:27 +0100)
commit23e6e57a93bcabe86d5f0eab1df0c44706ab18f3
treeeeb4820bb2b56685aac4bc53a327924f53969a43
parentb7cce3e2cca9cd78418f3c3784474b778e7996fe
dm: make "dmsetup remove_all" interruptible

The command "dmsetup remove_all" may take a long time (a minute for
removing 1000 devices), so make it interruptible with fatal signals.

For better readability, the bool arguments were changed to flags.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
drivers/md/dm-ioctl.c