Re: [RFC PATCH V2 0/6] ublk_drv: add USER_RECOVERY support

Ming Lei
2022-09-06T01:15:01Z

On Wed, Aug 31, 2022 at 11:51:30PM +0800, ZiyangZhang wrote:
> ublk_drv is a driver simply passes all blk-mq rqs to ublksrv[1] in
> userspace. For each ublk queue, there is one ubq_daemon(pthread).
> All ubq_daemons share the same process which opens /dev/ublkcX.
> The ubq_daemon code infinitely loops on io_uring_enter() to
> send/receive io_uring cmds which pass information of blk-mq
> rqs.

BTW, given ublk document is merged, so please document the new
added commands in Documentation/block/ublk.rst in following versions.

Thanks,
Ming