Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spdk: update to 23.01 #79

Merged
merged 3 commits into from
Mar 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This daemon runs as root. It provides the ability to export existing RBD images

$ make grpc

5. SPDK v21.04 is included in this repository. Edit the config file to set:
5. SPDK is included in this repository as a submodule. Edit the config file to set:

spdk_path = <complete path to SPDK parent directory>
spdk_tgt = <relative path to SPDK target executable>
Expand Down
4 changes: 2 additions & 2 deletions control/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ def _start_spdk(self):

# Get path and import SPDK's RPC modules
spdk_path = self.config.get("spdk", "spdk_path")
sys.path.append(spdk_path)
sys.path.append(os.path.join(spdk_path, "spdk/python"))
idryomov marked this conversation as resolved.
Show resolved Hide resolved
self.logger.info(f"SPDK PATH: {spdk_path}")
import spdk.scripts.rpc as spdk_rpc
import spdk.rpc as spdk_rpc
self.spdk_rpc = spdk_rpc

# Start target
Expand Down
2 changes: 1 addition & 1 deletion spdk
Submodule spdk updated 1741 files