On Tue, 07 Feb 2023 23:07:00 +0800, Ming Lei wrote: > Inside ublk_ctrl_del_dev(), when the device is removed, we wait > until the device number is freed with holding global lock of > ublk_ctl_mutex, this way isn't friendly from user viewpoint: > > 1) if device is in-use, the current delete command hangs in > ublk_ctrl_del_dev(), and user can't break from the handling > because wait_event() is used > > [...] Applied, thanks! [1/1] block: ublk: improve handling device deletion commit: 0abe39dec065133e3f92a52219c3728fe7d7617f Best regards, -- Jens Axboe