Skip to content

Commit

Permalink
feat(spdk): updating to spdk 24.05
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Savitskiy <[email protected]>
  • Loading branch information
dsavitskiy committed Jul 22, 2024
1 parent 1b2a596 commit af7a8b7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
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-2a1b631";

src = [
(fetchFromGitHub {
name = pname;
owner = "openebs";
repo = "spdk";
rev = "c8e02b0259cc32494c305ef75c63f5a9614976b2";
sha256 = "sha256-/YI1NBZUqC2r2X7fdJtbeuEEnt+uaHUAsEBkHZIBppA=";
rev = "2a1b6318bc8b9510f4cabcba2788a50f21fb3d0f";
sha256 = "sha256-/iqaFceGBlxEjnJ1BUz+w7f4OctyuPDV0O7Yb4tAXng=";
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

0 comments on commit af7a8b7

Please sign in to comment.