-
Notifications
You must be signed in to change notification settings - Fork 700
nvme: add NVMe 2.1 changed-alloc-ns-list-log command #2675
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 all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
fe45bae
nvme-wrap: handle get log rotational media info correctly
ikegami-t 25079c2
nvme: add NVMe 2.1 changed-alloc-ns-list-log command
ikegami-t b8825a2
doc: add changed-alloc-ns-list-log command
ikegami-t fbb463c
completions: fix mgmt-addr-list-log command
ikegami-t 1eda789
completions: add changed-alloc-ns-list-log command
ikegami-t 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,67 @@ | ||
| nvme-changed-alloc-ns-list-log(1) | ||
| ================================= | ||
|
|
||
| NAME | ||
| ---- | ||
| nvme-changed-alloc-ns-list-log - Send NVMe Changed Allocated Namespace List | ||
| log page request, returns result and log. | ||
|
|
||
| SYNOPSIS | ||
| -------- | ||
| [verse] | ||
| 'nvme changed-alloc-ns-list-log' <device> [--raw-binary | -b] | ||
| [--output-format=<fmt> | -o <fmt>] [--verbose | -v] | ||
| [--timeout=<timeout>] | ||
|
|
||
| DESCRIPTION | ||
| ----------- | ||
| Retrieves the NVMe Changed Allocated Namespace List log page from an NVMe | ||
| device and provides the returned structure. | ||
|
|
||
| The <device> parameter is mandatory and must be a NVMe character device | ||
| (ex: /dev/nvme0). | ||
|
|
||
| On success, the returned Changed Allocated Namespace List log structure may | ||
| be returned in one of several ways depending on the option flags; the | ||
| structure may parsed by the program and printed in a readable format or | ||
| the raw buffer may be printed to stdout for another program to parse. | ||
|
|
||
| OPTIONS | ||
| ------- | ||
| -b:: | ||
| --raw-binary:: | ||
| Print the raw Changed Namespace List log buffer to stdout. | ||
|
|
||
| -o <fmt>:: | ||
| --output-format=<fmt>:: | ||
| Set the reporting format to 'normal', 'json' or 'binary'. Only one | ||
| output format can be used at a time. | ||
|
|
||
| -v:: | ||
| --verbose:: | ||
| Increase the information detail in the output. | ||
|
|
||
| -t <timeout>:: | ||
| --timeout=<timeout>:: | ||
| Override default timeout value. In milliseconds. | ||
|
|
||
| EXAMPLES | ||
| -------- | ||
| * Print the Changed Allocated Namespace List Log page in a human readable format: | ||
| + | ||
| ------------ | ||
| # nvme changed-alloc-ns-list-log /dev/nvme0 | ||
| ------------ | ||
| + | ||
|
|
||
| * Print the raw Changed Allocated Namespace List log to a file: | ||
| + | ||
| ------------ | ||
| # nvme changed-alloc-ns-list-log /dev/nvme0 --raw-binary > log.raw | ||
| ------------ | ||
| + | ||
| It is probably a bad idea to not redirect stdout when using this mode. | ||
|
|
||
| NVME | ||
| ---- | ||
| Part of the nvme-user suite |
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
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.