Skip to content

Commit ebedfa7

Browse files
committed
CMakeLists: disable Seastar_IO_URING to fix seastar unittest timeout
As pr ceph#55787 bump liburing from 0.7 to 2.5. with liburing-dev (2.1) installed on ubuntu jammy, Seastar_IO_URING will be set ON, seastar will be builded with liburing-dev. Ceph bluestore use build_uring in file Builduring.cmake to build liburing version 2.5 and set URING_INCLUDE_DIR to /home/jenkins-build/build/workspace/ceph-pull-requests/build/src/liburing/src/include/liburing/, seastar use URING_INCLUDE_DIR(version is 2.5) to build, but seastar link liburing.so to system liburing-dev package(version 2.1). The liburing head file seastar building and liburing binary seastar linked is mismatched. I have downgraded the liburing version in file 'cmake/modules/Builduring.cmake' to liburing-2.1, the seastar unittests work fine, no timeout. Fixes: https://tracker.ceph.com/issues/64789 Signed-off-by: luo rixin <[email protected]>
1 parent 2b0101e commit ebedfa7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ if(WITH_SEASTAR)
380380
endmacro ()
381381
set(Seastar_API_LEVEL "6" CACHE STRING "" FORCE)
382382
set(Seastar_HWLOC OFF CACHE BOOL "" FORCE)
383+
set(Seastar_IO_URING OFF CACHE BOOL "" FORCE)
383384
set(Seastar_STD_OPTIONAL_VARIANT_STRINGVIEW ON CACHE BOOL "" FORCE)
384385
if(Seastar_DPDK)
385386
find_package(dpdk QUIET)

0 commit comments

Comments
 (0)