31 Aug
2022
31 Aug
'22
2:49 p.m.
On Wed, Aug 31, 2022 at 5:41 PM Richard W.M. Jones <rjones@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/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.
BTW, aio branch has been merged to ublksrv/master, but the interface of ublksrv_aio_submit_req() changed, so please sync with ublksrv. thanks,