Repository navigation
Port to libnvme3 #1213
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
Open
igaw
wants to merge
7
commits into
storaged-project:master
Choose a base branch
from
igaw:libnvme3
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Port to libnvme3 #1213
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
1efe3b3
nvme: Fix the documented default port of bd_nvme_connect()
dwsuse 86c89fb
nvme: Port to libnvme3
igaw 4f68ef1
nvme: Support the libnvme3 fabrics configuration file
igaw e006d16
nvme: Fix byte order of the sanitize overwrite pattern
igaw 5ddf225
nvme: Only disconnect controllers owned by libblockdev
igaw 0cfb238
ci: Temporarily enable libnvme3 repo for testing
vojtechtrefny cbe5966
ci: Build libnvme3 for Ubuntu workflows
vojtechtrefny 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| name: Build libnvme3 | ||
| description: Build upstream libnvme 3.3 for Ubuntu runners that only ship libnvme 1.x | ||
|
|
||
| runs: | ||
| using: composite | ||
| steps: | ||
| - name: Install libnvme build dependencies | ||
| shell: bash | ||
| run: | | ||
| sudo apt-get update | ||
| sudo apt-get install -y meson ninja-build libjson-c-dev \ | ||
| libssl-dev libkeyutils-dev libkmod-dev | ||
|
|
||
| - name: Build and install libnvme3 | ||
| shell: bash | ||
| run: | | ||
| src="$RUNNER_TEMP/nvme-cli" | ||
| prefix="$RUNNER_TEMP/libnvme3" | ||
| git clone --depth 1 --branch v3.3 https://github.com/linux-nvme/nvme-cli.git "$src" | ||
| test "$(git -C "$src" rev-parse HEAD)" = c19af560d1869636104de5ab4e41420cbfdef395 | ||
|
|
||
| meson setup "$src/build" "$src" \ | ||
| --prefix="$prefix" --libdir=lib \ | ||
| -Dlibnvme=enabled -Dfabrics=enabled -Dnvme=disabled \ | ||
| -Ddocs=false -Dpython=disabled -Dtests=false -Dexamples=false \ | ||
| -Dliburing=disabled -Dnvme-discoverd=disabled -Dnvme-keysd=disabled \ | ||
| -Dtop=disabled | ||
| meson install -C "$src/build" | ||
|
|
||
| { | ||
| echo "PKG_CONFIG_PATH=$prefix/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}" | ||
| echo "LD_LIBRARY_PATH=$prefix/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" | ||
| } >> "$GITHUB_ENV" |
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
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.
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.