Richard W.M. Jones
2022-Sep-01 11:14 UTC
[Libguestfs] [PATCH libnbd] ublk: Add new nbdublk program
On Thu, Sep 01, 2022 at 04:01:39PM +0800, Ming Lei wrote:> Maybe you should use one nbd disk, which has the closest code path > with nbdublk.Good idea - I have started a heavy test using nbd.ko as the backing. Let's see what happens after 12 hours or more. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com nbdkit - Flexible, fast NBD server with plugins https://gitlab.com/nbdkit/nbdkit
On Thu, Sep 01, 2022 at 12:14:40PM +0100, Richard W.M. Jones wrote:> On Thu, Sep 01, 2022 at 04:01:39PM +0800, Ming Lei wrote: > > Maybe you should use one nbd disk, which has the closest code path > > with nbdublk. > > Good idea - I have started a heavy test using nbd.ko as the > backing. Let's see what happens after 12 hours or more.xfstests(./check) is done. - v6.0-rc3+ (commit dcf8e5633e2) - nbdublk/nbd is test device, virtio-scsi is scratch device - both nbdublk and nbd survive, and result is same too: Failures: generic/471 generic/633 generic/644 generic/645 xfs/019 xfs/049 xfs/082 xfs/144 xfs/191 xfs/199 xfs/543 xfs/544 xfs/545 xfs/549 Failed 14 of 1069 tests Thanks, Ming
Richard W.M. Jones
2022-Sep-02 08:06 UTC
[Libguestfs] [PATCH libnbd] ublk: Add new nbdublk program
On Thu, Sep 01, 2022 at 12:14:40PM +0100, Richard W.M. Jones wrote:> On Thu, Sep 01, 2022 at 04:01:39PM +0800, Ming Lei wrote: > > Maybe you should use one nbd disk, which has the closest code path > > with nbdublk. > > Good idea - I have started a heavy test using nbd.ko as the > backing. Let's see what happens after 12 hours or more.This has been running overnight (using nbd.ko) and there are no problems. Since I have seen 2 failures with ublk, I think there is a problem with the kernel driver, although it happens very rarely. My tests were done using 6.0.0-rc3 (dcf8e5633e). 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