]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/librbd/fsx: switch to netlink interface for rbd-nbd 61259/head
authorIlya Dryomov <idryomov@gmail.com>
Tue, 7 Jan 2025 16:29:03 +0000 (17:29 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 7 Jan 2025 16:35:53 +0000 (17:35 +0100)
The default was flipped in commit fcbf7367d285 ("rbd-nbd: map using
netlink interface by default") in squid.  This is a reef-only fixup for
fsx to counter failures like "Size error: expected 0xa5cac00 stat 0x0"
which seem to be quite persistent on CentOS Stream 9.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/test/librbd/fsx.cc

index a59db783cadfcc99ad755588d81fb517fecea186..74ece99fdeb53e14038fd6644888f9409483ee08 100644 (file)
@@ -1254,6 +1254,7 @@ nbd_open(const char *name, struct rbd_ctx *ctx)
                           SubProcess::KEEP);
        process.add_cmd_arg("map");
        process.add_cmd_arg("--io-timeout=600");
+       process.add_cmd_arg("--try-netlink");
        std::string img;
        img.append(pool);
        img.append("/");