On Tue, Aug 30, 2022 at 11:29:26PM +0800, Ming Lei wrote:
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.
BTW, now the build stops because of running out of virtio-scsi disk space, but everything is still fine, btrfs can be umount successfully. Thanks, Ming