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 5, 2024
1 parent ea6ef4e commit 57490f5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,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
6 changes: 3 additions & 3 deletions nix/pkgs/libspdk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ let
#
drvAttrs = rec {
pname = "libspdk${nameSuffix}";
version = "24.01-535a9e2";
version = "24.05-5b2ac33";

src = [
(fetchFromGitHub {
name = pname;
owner = "openebs";
repo = "spdk";
rev = "535a9e23cf9c0692e307a72f18856a528cdec9ce";
sha256 = "sha256-1FhOOr3gjmmk/p0IACI/A/uIIN2yiFxGSLAr377HiZQ=";
rev = "5b2ac332177ca358eb59eb98f011d08005ecb3dc";
sha256 = "sha256-DwsV9EUClY8hv8MKgBvmRn2g0xceAD8NtpMz0SLnr+4=";
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 57490f5

Please sign in to comment.