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/commit/0a293b6eb7149dc5ee83e5d07d242accdb840...) 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