Re: [PATCH V5 0/2] ublk: add io_uring based userspace block driver

From: Jens Axboe
Date: Wed Jul 13 2022 - 22:54:33 EST


On Wed, 13 Jul 2022 22:07:09 +0800, Ming Lei wrote:
> ublk driver is one kernel driver for implementing generic userspace block
> device/driver, which delivers io request from ublk block device(/dev/ublkbN) into
> ublk server[1] which is the userspace part of ublk for communicating
> with ublk driver and handling specific io logic by its target module.
>
> Another thing ublk driver handles is to copy data between user space buffer
> and request/bio's pages, or take zero copy if mm is ready for support it in
> future. ublk driver doesn't handle any IO logic of the specific driver, so
> it is small/simple, and all io logics are done by the target code in ublkserver.
>
> [...]

Applied, thanks!

[1/2] ublk_drv: add io_uring based userspace block driver
commit: 3fee8d7599e17fe17ef6c1b96e2237babe8b68ea
[2/2] ublk_drv: support to complete io command via task_work_add
commit: 664ff52d6f338a9afcabee535e8dedf04659f0d6

Best regards,
--
Jens Axboe