Skip to content

Commit

Permalink
fix(bdev/ftl): allow spdk_ftl_mode enum type (#69)
Browse files Browse the repository at this point in the history
When creating an ftl bdev the ftl configuration requires to set a mode,
which is an `enum spdk_ftl_mode`.

Signed-off-by: Dennis Maisenbacher <[email protected]>
  • Loading branch information
MaisenbacherD authored Nov 26, 2024
1 parent 2578b43 commit 37b4f00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,8 @@ fn main() {
.rustified_enum("spdk_nvme_media_error_status_code")
.allowlist_type("spdk_nvme_path_status_code")
.rustified_enum("spdk_nvme_path_status_code")
.allowlist_type("spdk_ftl_mode")
.rustified_enum("spdk_ftl_mode")
.allowlist_var("^NVMF.*")
.allowlist_var("^SPDK.*")
.allowlist_var("^spdk.*")
Expand Down

0 comments on commit 37b4f00

Please sign in to comment.