Richard W.M. Jones
2022-Aug-31 09:41 UTC
[Libguestfs] [PATCH libnbd] ublk: Add new nbdublk program
On Wed, Aug 31, 2022 at 05:29:13PM +0800, Ming Lei wrote:> I can reproduce it, please try the top patch in aio branch, which fixed > hang in my reproducer with your test setting. > > https://github.com/ming1/ubdsrv/commits/aio(https://github.com/ming1/ubdsrv/commit/0a293b6eb7149dc5ee83e5d07d242accdb840c85) Yes, that seems to fix it. I have two loops, one git-cloning the kernel, and another copying the source of nbdkit and recompiling it, and they are both working without problems. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
Richard W.M. Jones
2022-Aug-31 10:22 UTC
[Libguestfs] [PATCH libnbd] ublk: Add new nbdublk program
After running those tests for an hour or two I got a nasty kernel memory corruption issue in the test VM, see attached. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org -------------- next part -------------- A non-text attachment was scrubbed... Name: dmesg.txt.gz Type: application/gzip Size: 11410 bytes Desc: not available URL: <http://listman.redhat.com/archives/libguestfs/attachments/20220831/8c464a81/attachment.gz>
On Wed, Aug 31, 2022 at 5:41 PM Richard W.M. Jones <rjones at redhat.com> wrote:> > On Wed, Aug 31, 2022 at 05:29:13PM +0800, Ming Lei wrote: > > I can reproduce it, please try the top patch in aio branch, which fixed > > hang in my reproducer with your test setting. > > > > https://github.com/ming1/ubdsrv/commits/aio > > (https://github.com/ming1/ubdsrv/commit/0a293b6eb7149dc5ee83e5d07d242accdb840c85) > > Yes, that seems to fix it. > > I have two loops, one git-cloning the kernel, and another copying the > source of nbdkit and recompiling it, and they are both working without > problems.BTW, aio branch has been merged to ublksrv/master, but the interface of ublksrv_aio_submit_req() changed, so please sync with ublksrv. thanks,
Richard W.M. Jones
2022-Sep-01 07:38 UTC
[Libguestfs] [PATCH libnbd] ublk: Add new nbdublk program
On Wed, Aug 31, 2022 at 11:22:04AM +0100, Richard W.M. Jones wrote:> > After running those tests for an hour or two I got a nasty kernel > memory corruption issue in the test VM, see attached.Another one from running overnight. 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: dmesg-2.txt.gz Type: application/gzip Size: 23192 bytes Desc: not available URL: <http://listman.redhat.com/archives/libguestfs/attachments/20220901/ba652fdb/attachment.gz>