Files
linux-stable-mirror/include/uapi/linux
Ming Lei 13fe8e6825 ublk: add UBLK_CMD_DEL_DEV_ASYNC
The current command UBLK_CMD_DEL_DEV won't return until the device is
released, this way looks more reliable, but makes userspace more
difficult to implement, especially about orders: unmap command
buffer(which holds one ublkc reference), ublkc close,
io_uring_file_unregister, ublkb close.

Add UBLK_CMD_DEL_DEV_ASYNC so that device deletion won't wait release,
then userspace needn't worry about the above order. Actually both loop
and nbd is deleted in this async way.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20240223075539.89945-3-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-02-28 18:47:08 -07:00
..
2024-01-02 12:41:16 +00:00
2023-12-19 08:23:03 -08:00
2023-12-07 12:44:19 -08:00
2023-09-24 18:17:31 -07:00
2023-09-21 19:22:05 +02:00
2023-10-24 12:02:02 +02:00
2023-12-15 17:01:30 +01:00
2023-12-14 11:49:17 +01:00
2023-11-28 19:05:16 +00:00
2023-10-28 13:31:05 -05:00
2023-12-20 19:26:31 -05:00
2023-11-18 14:56:16 +01:00
2023-10-27 10:35:46 +01:00
2024-02-28 18:47:08 -07:00
2023-12-29 11:58:24 -08:00