diff --git a/build.rs b/build.rs index 8c8b93a..39f16cb 100644 --- a/build.rs +++ b/build.rs @@ -308,8 +308,7 @@ fn main() { .allowlist_function(".*.uring.*") .allowlist_function("^iscsi.*") .allowlist_function("^spdk.*") - .allowlist_function("create_malloc_disk") - .allowlist_function("delete_malloc_disk") + .allowlist_function("^.*malloc_disk") .allowlist_function("^bdev.*") .allowlist_function("^nbd_.*") .allowlist_function("^vbdev_.*") diff --git a/nix/pkgs/libspdk/default.nix b/nix/pkgs/libspdk/default.nix index c1ae6c2..41ecd4c 100644 --- a/nix/pkgs/libspdk/default.nix +++ b/nix/pkgs/libspdk/default.nix @@ -85,15 +85,15 @@ let # drvAttrs = rec { pname = "libspdk${nameSuffix}"; - version = "24.05-981a969"; + version = "24.05-e5f7aa4"; src = [ (fetchFromGitHub { name = pname; owner = "openebs"; repo = "spdk"; - rev = "981a96931ce5ed5f67e0c4cdc3b0e2c0a71e2b24"; - sha256 = "sha256-DkA2Pgcpyfss2WV+lXWFnvvcolvgu18kD5BCc+1qo64="; + rev = "e5f7aa4c8250fd517764f073637f956b78c323c2"; + sha256 = "sha256-VqaX5LAuNg0bAPz76xz2EU0XXLoyCwqDlP6+XWE5o14="; fetchSubmodules = true; }) ../../../build_scripts diff --git a/wrapper.h b/wrapper.h index 9b78884..4318a64 100644 --- a/wrapper.h +++ b/wrapper.h @@ -36,12 +36,14 @@ #include #include #include +#include #include #include #include #include #include #include +#include #include "helpers/logwrapper.h" #include "helpers/nvme_helper.h"