Richard W.M. Jones
2022-Aug-30 14:38 UTC
[Libguestfs] [PATCH libnbd] ublk: Add new nbdublk program
On Tue, Aug 30, 2022 at 03:12:23PM +0800, Ming Lei wrote:> The patch sent in last email may cause io hang on MQ, and follows the fixed > version:I split this into two commits and cleaned them up and posted them here: https://gitlab.com/rwmjones/libnbd/-/commits/nbdublk/ Unfortunately this doesn't work for me. When I do various filesystem operations like git clone and a compile I see some subtle disk errors and eventually it deadlocks, so I guess there is some problem. It might be related to the changes that I made, but I'm fairly sure it's not as I only made small fixes to remove unused variables and fix types in printf statements and that sort of thing. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
On Tue, Aug 30, 2022 at 03:38:50PM +0100, Richard W.M. Jones wrote:> On Tue, Aug 30, 2022 at 03:12:23PM +0800, Ming Lei wrote: > > The patch sent in last email may cause io hang on MQ, and follows the fixed > > version: > > I split this into two commits and cleaned them up and posted them here: > > https://gitlab.com/rwmjones/libnbd/-/commits/nbdublk/ > > Unfortunately this doesn't work for me. When I do various filesystem > operations like git clone and a compile I see some subtle disk errors > and eventually it deadlocks, so I guess there is some problem.OK, care to provide more details about the reproducer? Like how backend is setup, MQ/SQ is used, disk size, ... I have cloned linux kernel source tree on nbdublk disk and built it with fedora 36 config for ~20min, so far so good. In my setting, backend is 'nbdkit file /dev/sda(virtio-scsi)', nbdublk is single queue. Thanks, Ming