Skip to content

Commit

Permalink
Merge pull request #62 from openebs/grow_pool_support
Browse files Browse the repository at this point in the history
feat(spdk): adding support for pool grow and related tests
  • Loading branch information
dsavitskiy authored Aug 30, 2024
2 parents 91f5cdb + 4974580 commit 4bafbb7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 1 addition & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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_.*")
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.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
Expand Down
2 changes: 2 additions & 0 deletions wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@
#include <spdk/trace.h>
#include <spdk/uuid.h>
#include <spdk/version.h>
#include <spdk/bit_pool.h>
#include <spdk_internal/event.h>
#include <spdk_internal/init.h>
#include <spdk_internal/thread.h>
#include <spdk_internal/lvolstore.h>
#include <thread/thread_internal.h>
#include <bdev/bdev_internal.h>
#include <blob/blobstore.h>

#include "helpers/logwrapper.h"
#include "helpers/nvme_helper.h"
Expand Down

0 comments on commit 4bafbb7

Please sign in to comment.