[pull] master from linux-nvme:master#229
Merged
Merged
Conversation
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 6.0.0 to 7.0.0. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@57e3a13...fb8b358) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
The SUM policy bit indicates if the linked SUM user is in control of the the range (and common name) of its SUM locking range. A policy of 0 indicates the SUM user is in control. A policy of 1 indicates that any admin is in control. The value is set to 1 by default when SUM is disabled. An admin will set the policy when SUM is enabled. See section 4.2.1.4 of TCG Storage Opal SSC Feature Set: Single User Mode v1.00. Signed-off-by: Brenden Bain <brenden.bain@gmail.com>
The option is for waiting sanitize completion. Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
Make verified multi-cycle sanitization accessible without a separate tool. Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
Also add sanicap shift and mask definitions to get. Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
This is to prevent issuing unsupported actions. Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
These options for the multi-cycle sanitization accessible. Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
These options for the multi-cycle sanitization accessible. Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
Add support for building nvme-cli with the Clang Static Analyzer. The static analyzer complements existing runtime verification tools such as ASAN/UBSan and Valgrind by performing compile-time analysis of code paths and reporting potential defects without requiring execution. Introduce a new '-a' option to scripts/build.sh which configures the build to use the Clang Static Analyzer via scan-build. When selected, the build automatically uses the Clang compiler and generates analyzer reports as part of the build process. The generated reports can be viewed using a web browser. Signed-off-by: Nilay Shroff <nilay@linux.ibm.com>
Fixing logic in status command to not immediately exit if unable to parse AER values in /sys/ Fixed a couple of whitespace errors highlighted by checkpatch Signed-off-by: Ben Reese <5884008+benreese0@users.noreply.github.com>
There was a stack-use-after return in the next_line parser. Change the line buffer to be static. Printing was not working as hook_disovery_log was not populated. Set all hooks using libnvmf_context_set_discovery_hooks. Simplify libnvmf_discovery_config_file by calling libnvmf_discovery directly. Closes: #3437 Signed-off-by: Jesse Taube <jtaubepe@redhat.com>
get_pif_sts() will need to be able to reject a namespace whose reported protection information attributes are inconsistent. This is in preparation for the following commit which is introducing QPIF support. Signed-off-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com>
When a namespace is formatted with the Qualified Protection Information
Format (PIF == Qualified Type and the QPIFS bit set in the PIC field),
the Storage Tag Masking Level Attribute (STMLA) in the PIFA field
constrains how the bits of the Logical Block Storage Tag Mask (LBSTM)
may be configured. The LBSTM mask occupies the least significant STS
bits as defined by the Extended LBA Format.
After resolving the protection information format from the QPIF field,
verify the device reported LBSTM against the declared STMLA:
- Bit Granularity Masking: any combination of bits is allowed.
- Byte Granularity Masking: every full byte and the partial high order
byte of the mask must be uniformly 0 or 1.
- Masking Not Supported: every bit of the mask must be set to 1.
Refere to the NVM Express NVM Command Set Specification, Revision 1.2,
Figure 118 (LBSTM, PIC and PIFA) and Figure 119 (STS, PIF and QPIF).
Signed-off-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com>
Add a write read testcase that exercises the Storage Tag fields exposed by the Qualified Protection Information Format. Signed-off-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com>
In json_parse_host, hostnqn is mandatory. This is problematic for portable config files. Allow hostnqn to be optional,and if not provided, it will be found or generated automatically. Signed-off-by: Jesse Taube <jtaubepe@redhat.com>
Allow the subsys nqn to be optional, this allows for discovery of the subsystem nqn, making it similar to the discovery.conf file. This is useful for the case where the subsys nqn is not known ahead of time, such as when using the nvme discover command. Signed-off-by: Jesse Taube <jtaubepe@redhat.com>
The I/O Command Set Independent Identify Controller data structure (Figure 328 in NVM Express Base Specification 2.3) defines two fields that were previously hidden inside the rsvd135[118] reserved block: - byte 135 Controller Instance Uniquifier (CIU) - bytes 143:136 Controller Instance Random Number (CIRN) Split rsvd135[118] into ciu, cirn[8], and the two remaining reserved ranges. Signed-off-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com>
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )