From 3bf8f8a39b19eef9201652f68bfff3fa2cac776a Mon Sep 17 00:00:00 2001 From: "Simon A. F. Lund" Date: Sat, 24 Sep 2022 15:35:21 +0200 Subject: [PATCH] pkgdep: bump liburing to v2.2 liburing v2.2 provides support for initialization of rings with "big" submission and completion entries. Big entries allow embedding NVMe submission and completion entries in the io_ring sqe/cqe and thereby an enabler of "io_uring_cmd". xNVMe utilizes the above. xNVMe v0.4.0 "vendored"/bundled liburing 2.2. However, the bundling of liburing inside the xNVMe library is removed in v0.5.0 to avoid linker issues. Instead, xNVMe v0.5.0 links liburing on the system with discovery via pkg-config. Thus, this change to update the liburing pkgdep to v2.2, in preparation for upgrading the xNVMe submodule to v0.5.0. Signed-off-by: Simon A. F. Lund Change-Id: Ibbacbcfa675f82257d41790b68c39dd7b1a82908 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14676 Tested-by: SPDK CI Jenkins Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris Reviewed-by: Ben Walker --- scripts/pkgdep/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pkgdep/common.sh b/scripts/pkgdep/common.sh index 7fa07b74d..f42bbc824 100755 --- a/scripts/pkgdep/common.sh +++ b/scripts/pkgdep/common.sh @@ -11,7 +11,7 @@ install_liburing() { git clone "${GIT_REPO_LIBURING}" "$liburing_dir" fi # Use commit we know we can compile against. See #1673 as a reference. - git -C "$liburing_dir" checkout liburing-2.0 + git -C "$liburing_dir" checkout liburing-2.2 (cd "$liburing_dir" && ./configure --libdir=/usr/lib64 && make install) echo /usr/lib64 > /etc/ld.so.conf.d/spdk-liburing.conf ldconfig