]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/librbd/fsx: fix wnbd check
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 17 Aug 2023 06:12:00 +0000 (06:12 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 17 Aug 2023 06:19:32 +0000 (06:19 +0000)
commit28a78fa1690ce43bd225de79b7a229b739b02bdd
tree147dfe40750dd41b78d2bd6e1352d98057022e64
parent9a0a715cb1fceed4121d82d723cd374d8fd85d6d
test/librbd/fsx: fix wnbd check

When using WNBD, the IO size must be a multiple of the sector size
(WNBD only supports 512 at the moment).

We're currently checking the "wnbd_operations" variable, however
it's only defined on Windows, leading to a compilation failure
on other platforms.

We'll switch back to a separate boolean variable called "wnbd_disk".

Fixes: https://tracker.ceph.com/issues/62475
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
src/test/librbd/fsx.cc