Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(spdk): updating to spdk 24.05 #57

Merged
merged 1 commit into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ fn main() {
.allowlist_var("^SPDK.*")
.allowlist_var("^spdk.*")
.trust_clang_mangling(false)
.opaque_type("^spdk_nvme_sgl_descriptor")
.opaque_type("^spdk_nvme_ctrlr_data")
.opaque_type("^spdk_nvme_feat_async_event_configuration.*")
.opaque_type("^spdk_nvmf_fabric_connect.*")
Expand Down
2 changes: 1 addition & 1 deletion build_scripts/build_spdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ LOG_DIR=$(realpath "$SCRIPT_DIR/../build_logs")
export LOG_DIR

export SPDK_ROOT_DIR=${SPDK_ROOT_DIR:-""} # Root of SPDK sources.
export SPDK_VERSION="24.01" # SPDK version (currently, informative only).
export SPDK_VERSION="24.05" # SPDK version (currently, informative only).

export BUILD_TYPE="debug"
export TARGET_PLATFORM="x86_64-unknown-linux-gnu"
Expand Down
6 changes: 3 additions & 3 deletions nix/pkgs/libspdk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ let
#
drvAttrs = rec {
pname = "libspdk${nameSuffix}";
version = "24.01-c8e02b0";
version = "24.05-981a969";

src = [
(fetchFromGitHub {
name = pname;
owner = "openebs";
repo = "spdk";
rev = "c8e02b0259cc32494c305ef75c63f5a9614976b2";
sha256 = "sha256-/YI1NBZUqC2r2X7fdJtbeuEEnt+uaHUAsEBkHZIBppA=";
rev = "981a96931ce5ed5f67e0c4cdc3b0e2c0a71e2b24";
sha256 = "sha256-DkA2Pgcpyfss2WV+lXWFnvvcolvgu18kD5BCc+1qo64=";
fetchSubmodules = true;
})
../../../build_scripts
Expand Down
1 change: 1 addition & 0 deletions src/bdev_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ where
max_active_zones: Default::default(),
optimal_open_zones: Default::default(),
media_events: Default::default(),
ctratt: unsafe { zeroed() },
reset_io_drain_timeout:
SPDK_BDEV_RESET_IO_DRAIN_RECOMMENDED_VALUE as u16,
module: self.module.as_ptr(),
Expand Down
Loading