-
Notifications
You must be signed in to change notification settings - Fork 526
NAS-135917 / 26.04 / SPDK backend for NVMe-oF #16562
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
Merged
Merged
Changes from 27 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
a39b12e
Add NVMfService
bmeagherix eb955af
Add SPDK plumbing
bmeagherix d6409ca
Add python3-truenas-spdk as build/runtime depend
bmeagherix 8a36963
Add private API system.cpu_flags
bmeagherix 0c6c006
Do not allow SPDK without avx2 in CPU flags
bmeagherix 1054355
Add SPDK support for nvmet.host_subsys, including CHAP keys
bmeagherix 62dda68
Handle min/max controller id
bmeagherix 645d804
Refactor some code into utils/nvmet directory
bmeagherix a997d60
Update nvmet.spdk.nics for HA
bmeagherix 9bf6a61
Initial HA implementation for SPDK
bmeagherix 924503d
Remove NULL bdev when BACKUP node
bmeagherix 919f0be
Add NvmetPortAnaReferralConfig
bmeagherix 4df0e6b
Add implementation of nvmet.global.sessions for SPDK backend
bmeagherix 9ded544
Make setup.sh honor PCI_ALLOWED
bmeagherix 783ed4f
Add NVMETargetService.failure_logs
bmeagherix 829726b
For FILE namespace force the block_size to underlying recordsize
bmeagherix 92fe35b
Do not attempt to dedicate NICs for SPDK use
bmeagherix 097089b
Replace service.start/stop with service.control
bmeagherix 442bb34
Remove incorrect max_cntlid code in NvmetHostSubsysConfig.add
bmeagherix 2f4e40f
Add missing await in nvmet.global.stop
bmeagherix 98a1940
Support ZVOLs containing a space in SPDK-based nvmet
bmeagherix c821295
Add missing namespace lock/unlock/resize support for SPDK
bmeagherix 6906171
Always report 512-byte blocksize for SPDK file-based extents
bmeagherix f5767c7
In _handle_standby_service_state wait for remote operation
bmeagherix 3bf5060
Run NVMe-oF tests for both kernel and SPDK implementations
bmeagherix 9a23032
Make test__file_namespaces reentrant
bmeagherix d1a17df
Run test__start_many_nvme for both kernel and SPDK
bmeagherix b86dac4
Address review
bmeagherix 3444915
Robustize local_sessions
bmeagherix cd7ba8b
Address review: simplify system.cpu_flags
bmeagherix faa8ea3
Address review
bmeagherix 2ab6461
Address review: remove unnecessary if before os.makedirs
bmeagherix File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| from middlewared.utils.nvmet.spdk import inject_path_to_recordsize, write_config | ||
|
|
||
|
|
||
| def render(service, middleware, render_ctx): | ||
| if middleware.call_sync('nvmet.spdk.nvmf_ready', True): | ||
| inject_path_to_recordsize(middleware, render_ctx) | ||
| write_config(render_ctx) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.