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

[pull] master from linux-nvme:master #41

Open
wants to merge 514 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
514 commits
Select commit Hold shift + click to select a range
5604741
nvme: add support to append TLS PSK to keyfile for check-tls-key
igaw Oct 30, 2024
39b1db8
docs: update check-tls-key arguments
igaw Oct 30, 2024
b219324
build: bump libnvme wrap
igaw Oct 31, 2024
afa17e7
scripts: handle libnvme version update correctly
igaw Oct 31, 2024
925545b
doc: Regenerate all docs for v2.11
igaw Oct 31, 2024
9f34fcb
Release v2.11
igaw Oct 31, 2024
64b2a25
build: Add token for coverage test
MaisenbacherD Oct 31, 2024
10e3119
wdc: Fixes for SNTMP Capabilities
jeff-lien-sndk Nov 5, 2024
1425179
nvme-print: use NVME_GET in sanitize log
francispravin5 Nov 7, 2024
5df679d
plugins/amzn: add stats support
Nov 7, 2024
b96cd2d
docs: add howto to setup TLS connections
igaw Oct 30, 2024
9444ce0
nvme-print: add fallback for non-standard locale category
dne Nov 11, 2024
ac48189
plugins/netapp: add include of libgen.h for basename(3) prototype
dne Nov 11, 2024
ab841e9
netapp-ontapdev: add verbose output
martin-gpy Nov 11, 2024
a8d1efc
netapp-ontapdev-doc: add verbose details
martin-gpy Nov 12, 2024
454893a
ocp-nvme: Recommit removed patch
sc108-lee Nov 12, 2024
d81cd5e
opc: fix hardware component descriptions bytes number
ikegami-t Nov 13, 2024
bc3e7c6
ocp-nvme: fix the error display of Hardware Component Log
Nov 13, 2024
06eddcb
nvme: update messages for few misc functions
martin-gpy Nov 17, 2024
1823ab6
build(deps): bump codecov/codecov-action from 4 to 5
dependabot[bot] Nov 18, 2024
1e842b6
ocp-nvme: Update ocp v2.6 Hardware Component
sc108-lee Nov 19, 2024
a3d887e
ocp-nvme: Add Error Injection type from ocp2.6
sc108-lee Nov 20, 2024
98b34e4
fabrics: update return values for dim
martin-gpy Nov 15, 2024
ccfd791
nvme-print: Add id-ctrl CTRATT.RHII, using enum
sc108-lee Nov 13, 2024
32b7196
build: bump libnvme wrap
sc108-lee Nov 13, 2024
c3e374a
nvme-print: print the new fields added in Sanitize log - TP4152
francispravin5 Nov 14, 2024
cea7c35
type: Using enums of ANSAN and RGCNS bit for OAES
arbaz404 Nov 13, 2024
60214cc
ocp: set UUID index to get hwcomp log
ikegami-t Nov 24, 2024
c8ffffc
build: change muon setup command and parameter
ikegami-t Nov 30, 2024
0ffdcfc
wdc: rework log retrieval and parsing
brandon-paupore-sndk Nov 25, 2024
c818a42
build: bump libnvme wrap
igaw Dec 2, 2024
e337bd5
nvme-print-stdout: add nvm-id-ctrl command VER and LBAMQF fields
ikegami-t Nov 24, 2024
6a6ffde
print: Supported Log lidsp print updated NVMe v2.1
sc108-lee Nov 29, 2024
24961e9
netapp-ontapdev: fix fw version handling
martin-gpy Nov 29, 2024
b5208a9
netapp-ontapdev: fix JSON output for nsze & nuse
martin-gpy Nov 29, 2024
6f1f902
nvme-netapp: update err messages
martin-gpy Nov 29, 2024
4e7327f
nvme: telemetry ctrl-init need to clear RAE
sc108-lee Nov 28, 2024
d70d4b1
nvme-print: fix Arbitration Mechanism Supported
xyzhang-up Dec 3, 2024
b8c9a3c
netapp-smdev: remove redundant code
martin-gpy Dec 3, 2024
cd69ccb
netapp-smdev-doc: add verbose details
martin-gpy Dec 3, 2024
0943fc4
netapp-smdev: add verbose output
martin-gpy Dec 3, 2024
d025884
build: bump libnvme wrap
francispravin5 Dec 4, 2024
e3e056c
nvme-print-stdout: print MAXWZD and NSZS bits of ONCS field
francispravin5 Dec 4, 2024
a442d02
build: bump libnvme wrap
sc108-lee Dec 5, 2024
3e94c44
nvme: Host-init telemetry log mcda field added
sc108-lee Dec 5, 2024
457d182
plugins/ocp: fixed crash in telemetry string log output format json
Dec 4, 2024
4f82fd2
ocp: set UUID index to get extended smart log
ikegami-t Dec 3, 2024
22948ef
ns_descs: prevent buffer overrun and memory corruption
maurizio-lombardi Dec 6, 2024
68c072d
ocp: TCG Configuration Log field added ocp v2.6
sc108-lee Dec 2, 2024
0a1fccc
build: bump libnvme wrap
sc108-lee Dec 6, 2024
c07ccbe
print: Add missing fid to string
sc108-lee Dec 7, 2024
d035094
print: id-ctrl print updated based on NVMe v2.1
sc108-lee Dec 6, 2024
4d34796
nvme: add Namespace Zeroes support to Write Zeroes command
francispravin5 Dec 9, 2024
0d5c2e7
tests: Introduce configurable nvme binary path
MaisenbacherD Nov 6, 2024
6e6305e
tests: Use json output for parsing
MaisenbacherD Nov 8, 2024
80796ea
tests: use current LBA format as I/O block size
MaisenbacherD Nov 25, 2024
94924df
tests: Remove unneeded sleep statements
MaisenbacherD Nov 8, 2024
7baebb9
tests: Refactor prints
MaisenbacherD Nov 8, 2024
1024886
tests: Fix `subprosess.call` calls
MaisenbacherD Nov 8, 2024
cbfd136
tests: Use container image to run nightly tests
MaisenbacherD Nov 11, 2024
9354c61
nbft: Report proper error codes from discover_from_nbft()
tbzatek Dec 3, 2024
9340c82
build: bump libnvme wrap
NateThornton Dec 12, 2024
8330814
print: OACS Host Managed Live Migration Support (HMLMS)
NateThornton Dec 12, 2024
79b201f
nvme: plugins/fdp, check endurance group identifier
nj-shetty Nov 29, 2024
6d3ee5f
ocp: delete internal-log command telemetry type none value definition
ikegami-t Dec 13, 2024
d248701
ocp: update internal-log command telemetry type description
ikegami-t Dec 13, 2024
ecd7d99
plugins: build plugins not depended on json without json
ikegami-t Dec 14, 2024
73fe6ad
sed: add '--read-only' to 'sed initialize'
hreinecke Nov 15, 2024
da0a38e
doc: remove TLS documentation
igaw Nov 29, 2024
517d28c
nvme-wrap: add nvme_cli_set_features() API function
ikegami-t Dec 15, 2024
22978d6
ocp: add ocp-types.h file for OCP requirements definitions
ikegami-t Dec 15, 2024
7d6cf87
ocp: add set-enable-ieee1667-silo command
ikegami-t Dec 15, 2024
144c5d6
doc: Add write zeroes command namespace-zeroes option
francispravin5 Dec 18, 2024
c7aeb90
nvme: disable output-format option json value without json-c
ikegami-t Dec 18, 2024
b5f7873
amzn: enable amzn-nvme.c build without json-c dependencies checking
ikegami-t Dec 18, 2024
8919109
amzn: use PRIu64 printf format string instead of llu
ikegami-t Dec 18, 2024
64e5df3
dapustor: enable dapustor-nvme.c build without json-c dependencies ch…
ikegami-t Dec 19, 2024
29b4172
dell: build plugin not depended on json without json
ikegami-t Dec 19, 2024
f3e05ae
fdp: build plugin not depended on json without json
ikegami-t Dec 19, 2024
16ed7c5
huawei: enable huawei-nvme.c build without json-c dependencies checking
ikegami-t Dec 19, 2024
b368e36
intel: enable intel-nvme.c build without json-c dependencies checking
ikegami-t Dec 19, 2024
b7a7cd0
micron: enable micron-nvme.c build without json-c dependencies checking
ikegami-t Dec 19, 2024
25284c5
Plugin: ScaleFlux Seperating Types
A-Fellow-Comrade Dec 14, 2024
4fa5ea4
Plugin: ScaleFlux Spelling&Typo Fixes
A-Fellow-Comrade Dec 16, 2024
a62c17b
Plugin: ScaleFlux Use NVME_NSID_ALL
A-Fellow-Comrade Dec 16, 2024
f258dca
Plugin: ScaleFlux Adding Status Command
benreese0 Dec 17, 2024
6a73c83
ocp-nvme: Add a different formatting for JSON output
sbates130272 Nov 22, 2024
6d2a869
plugin/lm: Introduce Live Migration plugin
NateThornton Nov 8, 2024
91d0a8a
build: bump wrap
igaw Dec 20, 2024
752d8c9
ocp: add ocp_get_log_simple() to set UUID index
ikegami-t Dec 10, 2024
ebbf498
Fixed latency_monitor_feature_enable to be 01h as per OCP spec v2.0
mh2022-meta Jul 17, 2024
c4a1e11
amzn: avoid sprinkling ifdefs and use flags
ikegami-t Dec 20, 2024
936383f
plugins: introduce OPT_FLAG_JSON for command option json
ikegami-t Dec 20, 2024
620e08c
nbft: enable nbft-plugin.c build without json-c dependencies checking
ikegami-t Dec 20, 2024
74c8b83
netapp: enable netapp-nvme.c build without json-c dependencies checking
ikegami-t Dec 20, 2024
e21db3e
nvidia: build plugin not depended on json without json
ikegami-t Dec 20, 2024
24271ed
scaleflux: use PRIu64 printf format string instead of llu
ikegami-t Dec 20, 2024
91c0807
scaleflux: enable sfx-nvme.c build without json-c dependencies checking
ikegami-t Dec 20, 2024
2172a4b
seagate: enable seagate-nvme.c build without json-c dependencies chec…
ikegami-t Dec 21, 2024
116e0c9
ssstc: build plugin not depended on json without json
ikegami-t Dec 21, 2024
19dce68
wdc: enable wdc-nvme.c build without json-c dependencies checking
ikegami-t Dec 21, 2024
1c7668e
util: cast to use empty function json_object_array_add parameter k
ikegami-t Dec 21, 2024
88209fb
micron: avoid sprinkling ifdefs
ikegami-t Dec 21, 2024
c416461
intel: avoid sprinkling ifdefs
ikegami-t Dec 21, 2024
7da1a33
netapp: avoid sprinkling ifdefs
ikegami-t Dec 21, 2024
1b5a3dc
dapustor: avoid sprinkling ifdefs
ikegami-t Dec 21, 2024
a065b9d
util: clean up json.h file
ikegami-t Dec 21, 2024
eb6014a
nvme-print-json: update register print code to use libnvme definition
ikegami-t Dec 31, 2024
21e45d8
nvme-print-json: update id-ctrl print code to use libnvme definition
ikegami-t Dec 31, 2024
bc0c529
nvme: fix to use NVME_VAL() for CQ entry status field filter
ikegami-t Jan 2, 2025
7e7125f
nvme-print: move obj_add_* definitions into util/json.h
ikegami-t Jan 3, 2025
6bf3b7b
ocp: use struct nvme_timestamp type for FAHE-5 timestamp field
ikegami-t Jan 3, 2025
b8c7552
ocp: remove unnecessary 64 bits mask
ikegami-t Jan 3, 2025
2be0436
ocp-print: use int48_to_long() to print 48 bits values
ikegami-t Jan 3, 2025
a95d951
util: introduce int56_to_long() type conversion helper
ikegami-t Jan 3, 2025
551c273
ocp: add ocp dssd log id and feature id definitions
ikegami-t Jan 3, 2025
b798c9d
ocp: fix to check hwcomp log size if valid
ikegami-t Dec 29, 2024
7a67118
ocp: change hwcomp log size variable name to log_bytes
ikegami-t Jan 3, 2025
c808e72
nvme-print: add NVMe 2.1 get log page LIDs string
ikegami-t Jan 4, 2025
839e3d3
make: fix make rpm target
sagigrimberg Jan 7, 2025
6aaa4c4
ocp: Fixes for OCP 2.5 Telemetry Stats Parsing
jeff-lien-sndk Dec 20, 2024
37f939e
ocp: Update ocp plugin version
jeff-lien-sndk Jan 7, 2025
1e89903
plugins/ocp: Use structure for ocp smart log
sc108-lee Jan 7, 2025
fa0c0d7
plugins/ocp: Align ocp_smart_extended_log struct.
hmi-jeon Dec 11, 2024
d4b5f77
ocp-nvme: Update ocp v2.6 Smart Information Extended
hmi-jeon Jan 8, 2025
012c17b
ocp-nvme: Add missing data media_dies_offline to smart_extended_log.
hmi-jeon Jan 8, 2025
700623f
build: bump libnvme wrap
ikegami-t Jan 8, 2025
2d5c98d
nvme-print: add NVMe 2.1 get and set features FIDs string
ikegami-t Jan 8, 2025
de51cc9
nvme-print-stdout: fix to print PEL set feature event FDP events
ikegami-t Jan 2, 2025
6496cfd
nvme-print-stdout: use libnvme FDP events feature definitions
ikegami-t Jan 3, 2025
3cc06f6
nvme-print-stdout: split PEL set feature event function
ikegami-t Jan 8, 2025
c164a0f
nvme-print-stdout: split PEL functions
ikegami-t Jan 3, 2025
5f3a369
nvme: add the new Self-test Code of Device Self-test command
francispravin5 Jan 9, 2025
3d870fa
nvme-print-stdout: add human readable output for DSTO field
francispravin5 Jan 9, 2025
37c8e05
nvme-print: add NVMe 2.1 admin commands strings
ikegami-t Jan 9, 2025
52d27ee
types: move STR_LEN definition from json.h
ikegami-t Jan 11, 2025
622a96d
nvme-print-stdout: add NVMe 2.1 identify power state descriptor fields
ikegami-t Jan 11, 2025
1cbd719
nvme-print-json: add NVMe 2.1 identify power state descriptor fields
ikegami-t Jan 12, 2025
9122b1b
build: bump libnvme wrap
ikegami-t Jan 13, 2025
7c57400
nvme: add mgmt-addr-list-log command
ikegami-t Jan 13, 2025
872288d
nvme-print-json: add json_mgmt_addr_list_log()
ikegami-t Jan 13, 2025
ba27cdb
nvme-print-binary: add binary_mgmt_addr_list_log()
ikegami-t Jan 13, 2025
93422be
doc: fix ocp-hardware-component-log documentation errors
ikegami-t Jan 13, 2025
04722ed
completions: fix ocp hardware-component-log zsh completion
ikegami-t Jan 13, 2025
692599b
completions: add mgmt-addr-list-log command
ikegami-t Jan 13, 2025
7f5999e
doc: add mgmt-addr-list-log command
ikegami-t Jan 13, 2025
fbb34d3
nvme-print-stdout: add get feature pls mode print
ikegami-t Jan 12, 2025
fe3b962
nvme-print-json: add get feature pls mode print
ikegami-t Jan 12, 2025
771cf44
build: automatically add a thank you note on PR merge
igaw Jan 20, 2025
1d39c71
nvme-print-stdout: use NVME_CTRL_OACS definitions
ikegami-t Jan 18, 2025
2171cf7
build: fix REST API call and permissions for thanks you note
igaw Jan 20, 2025
140ce35
build: remove thank you bot
igaw Jan 20, 2025
4b5ac98
nvme: add NS management commands error message output
ikegami-t Jan 18, 2025
cccefc4
argconfig: add argconfig_get_value()
ikegami-t Jan 18, 2025
565b30e
nvme: use blkdev for direct if namespace-id specified
ikegami-t Jan 19, 2025
946029c
nvme: add flush command chardev handle error message
ikegami-t Jan 19, 2025
7057e6c
nvme: set eds to true if controller supports 128 bit hostid
bgurney-rh Jan 21, 2025
b7822bd
nvmf-keys: udev rule should be using /etc/nvme
cleech Jan 22, 2025
6cd285e
ocp-telemetry-decode: fix ascii string lookup
Dec 23, 2024
f54f046
tests: correct to check blkdev for NS attached
ikegami-t Jan 23, 2025
c276f3d
tests: add blkdev checking after NS creation
ikegami-t Jan 23, 2025
b9b34be
tests: add verbose options for NS management commands
ikegami-t Jan 23, 2025
2247a5d
nvme: add rotational-media-info-log command
ikegami-t Jan 26, 2025
906791d
fabrics: make 'disconnect' accepting only -n or -d
hreinecke Jan 27, 2025
db2c3e5
Revert "tests: add blkdev checking after NS creation"
ikegami-t Jan 28, 2025
c5885f4
plugins/solidigm: Replace snprintf with asprintf
SolidigmTools Dec 31, 2024
c1fbf74
plugins/solidigm: Telemetry null check json object
SolidigmTools Jan 2, 2025
56cf51b
tests: monitor /dev for new nvme block device
igaw Jan 29, 2025
8293819
completions: add rotational-media-info-log command
ikegami-t Jan 30, 2025
22e8c44
doc: add rotational-media-info-log command
ikegami-t Jan 30, 2025
48263a3
udev-rules-ontap: switch to queue-depth iopolicy
martin-gpy Jan 31, 2025
eea4913
sed: add '--read-only' to lock/unlock commands
gjoyce-ibm Jan 31, 2025
d40125f
plugins/ocp: fix telemetry parser buffer overflow
igaw Feb 7, 2025
4512881
build: bump libnvme wrap
francispravin5 Jan 21, 2025
25a4a5d
nvme-print: print new id-ns fields added in NVM Command Set Spec 1.1
francispravin5 Jan 21, 2025
5fee3d0
nvme: change attach-ns to error out if wrong device given
ikegami-t Feb 3, 2025
cb0e18e
ocp: fix to free hwcomp log desc memory allocated
ikegami-t Feb 5, 2025
3d7cd41
build: bump libnvme wrap
ikegami-t Feb 7, 2025
944f8d3
nvme-wrap: use rotational media information log libnvme-mi API
ikegami-t Feb 2, 2025
8e167b1
build: checkpatch ignore new/del/mov files
igaw Feb 10, 2025
9534fb1
build: sync checkpatch config file
igaw Feb 10, 2025
3065588
nvme-wrap: handle get log rotational media info correctly
ikegami-t Feb 10, 2025
8b1b046
nvme: add NVMe 2.1 changed-alloc-ns-list-log command
ikegami-t Jan 27, 2025
6a33622
doc: add changed-alloc-ns-list-log command
ikegami-t Jan 26, 2025
c76e0bc
completions: fix mgmt-addr-list-log command
ikegami-t Jan 26, 2025
3711526
completions: add changed-alloc-ns-list-log command
ikegami-t Feb 7, 2025
6dba527
nvme: add dispersed-ns-participating-nss-log command
ikegami-t Feb 2, 2025
cffe607
doc: add dispersed-ns-participating-nss-log command
ikegami-t Feb 9, 2025
79ece77
completions: add dispersed-ns-participating-nss-log command
ikegami-t Feb 9, 2025
741d2e5
completions: add and fix io-mgmt-recv and io-mgmt-send commands
ikegami-t Feb 9, 2025
383609e
nvme-print-stdout: add descriptions for nsze, ncap & nuse
martin-gpy Feb 9, 2025
3f3c4ff
nvme-print-stdout: add details in list-ns verbose output
martin-gpy Feb 9, 2025
569c767
build: checkpatch limit line length to 100 chars
igaw Feb 10, 2025
724836d
nvme: do not output debug infos on info level
igaw Feb 10, 2025
4053eff
nvme: add reachability-groups-log command
ikegami-t Feb 10, 2025
696f985
Revert "nvme: add flush command chardev handle error message"
igaw Feb 7, 2025
e62ab3c
Revert "nvme: use blkdev for direct if namespace-id specified"
igaw Feb 7, 2025
3ecd50e
Revert "argconfig: add argconfig_get_value()"
igaw Feb 7, 2025
1627604
CI: add missing bind-mount option for /dev
MaisenbacherD Feb 11, 2025
3df1e29
doc: add reachability-groups-log command
ikegami-t Feb 11, 2025
fe4e2b0
completions: add reachability-groups-log command
ikegami-t Feb 11, 2025
dc2c1fa
nvme: fix reachability-groups-log command perror message
ikegami-t Feb 11, 2025
3d74924
nvme: make -v output consistent with -H output for nvme get-property
martin-gpy Feb 11, 2025
e8db7de
nvme: make -v output consistent with -H output for nvme get-feature
martin-gpy Feb 11, 2025
b0a66c9
build: bump libnvme wrap
ikegami-t Feb 12, 2025
18e2eb9
nvme-wrap: do_admin_op() get_log_reachability_groups parameters order
ikegami-t Feb 12, 2025
86495e8
nvme: add reachability-associations-log command
ikegami-t Feb 11, 2025
afa65ec
doc: add reachability-associations-log command
ikegami-t Feb 13, 2025
1d65c63
completions: add reachability-associations-log command
ikegami-t Feb 13, 2025
4116a5a
tests: fix LBA format calculation
MaisenbacherD Feb 13, 2025
2ed94bd
tests: read LBA size for validation
MaisenbacherD Feb 13, 2025
d746cd9
tests: fix hex to base-10 conversion in id-ctrl output
MaisenbacherD Feb 14, 2025
ecb2e26
tests: check if verify command is supported
MaisenbacherD Feb 13, 2025
9d28dcc
plugins/fdp: Added FDP feature subcommand.
lgdacunh Jan 22, 2025
0ef21f4
doc: Add nvme-fdp-feature command
lgdacunh Jan 22, 2025
d6237fe
nvme: make get-feature JSON output print everything
martin-gpy Feb 16, 2025
7f04d34
nvme: check for valid output format
martin-gpy Feb 16, 2025
1a3de10
nvme-print: print new fields of nvm_id_ctrl
francispravin5 Feb 17, 2025
bd9dbe1
build: bump libnvme wrap
igaw Feb 17, 2025
dcd075d
util/types: fix print format string
igaw Feb 17, 2025
e2a901d
plugins/virtium: fix print format string
igaw Feb 17, 2025
b115720
plugins/sed: use platform depended cast for pointer type
igaw Feb 17, 2025
359a3d1
util/logging: fix print format string
igaw Feb 17, 2025
68c6ad7
plugins/ocp: Added OCP 2.6 telemetry support
VigneshwaranSaravana Feb 17, 2025
b5bb01a
nvme-print-binary: fix to output reachability associations log length
ikegami-t Feb 16, 2025
ecab21c
nvme-print-binary: fix to output reachability groups log length
ikegami-t Feb 16, 2025
3634a93
nvme-print-binary: fix to output dispersed ns participating nss log l…
ikegami-t Feb 16, 2025
c785a0a
nvme-print-binary: fix to output phy rx eom log length
ikegami-t Feb 16, 2025
a4c3dbc
nvme-wrap: fix get_log_reachability_associations parameters order
ikegami-t Feb 17, 2025
3e512dd
completions: Added fdp feature auto-completion.
lgdacunh Feb 19, 2025
8ff23ab
nvme-print: print Host Behavior Support feature fields
francispravin5 Feb 20, 2025
3030cb1
build: bump libnvme wrap
ikegami-t Feb 24, 2025
0a8067d
nvme: add host-discovery-log command
ikegami-t Feb 21, 2025
a4c7348
completions: fix zsh completions array parameter names
ikegami-t Feb 24, 2025
de7d140
completions: add host-discovery-log command
ikegami-t Feb 24, 2025
2b7a6d7
doc: add host-discovery-log command
ikegami-t Feb 24, 2025
4851c9b
nvme: enforce ns granularity on ns create
igaw Feb 25, 2025
db495c0
netapp-ontapdev: update basestr headers in verbose output
martin-gpy Feb 26, 2025
7a83c58
netapp-smdev: update basestr header in verbose output
martin-gpy Feb 26, 2025
2774fb8
netapp-ontapdev: update err msg for no ontapdevices
martin-gpy Feb 26, 2025
eeb7d80
netapp-smdev: update err msg for no smdevices
martin-gpy Feb 26, 2025
ef47838
nvme-print-json: delete json_host_discovery_log printf error code
ikegami-t Feb 26, 2025
1571543
nvme: add ave-discovery-log command
ikegami-t Feb 26, 2025
c6e2b5e
netapp-ontapdev: correct the basestr header
martin-gpy Feb 26, 2025
572e2f5
sed: extended discovery feature code printing
gjoyce-ibm Feb 26, 2025
75d7055
build: bump libnvme wrap
francispravin5 Feb 27, 2025
91c4bb0
nvme-print: add human readable output for IOCS Data Structure
francispravin5 Feb 27, 2025
2bffc59
Documentation: Added solidigm plugin commands to main manual page.
lgdacunh Feb 28, 2025
c2ddcbf
doc: add ave-discovery-log command
ikegami-t Feb 27, 2025
21516ec
completions: add ave-discovery-log command
ikegami-t Feb 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 24 additions & 0 deletions .checkpatch.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Checkpatch options.
# REF: https://docs.kernel.org/dev-tools/checkpatch.html

# This isn't actually a Linux kernel tree
--no-tree

--max-line-length=100

--ignore EMAIL_SUBJECT

# FILE_PATH_CHANGES reports this kind of message:
# "added, moved or deleted file(s), does MAINTAINERS need updating?"
--ignore FILE_PATH_CHANGES


# Commit messages might contain a Gerrit Change-Id.
--ignore GERRIT_CHANGE_ID

# Do not check the format of commit messages, as Gerrit's merge commits do not
# preserve it.
--ignore GIT_COMMIT_ID

# Avoid "Does not appear to be a unified-diff format patch" message
--ignore NOT_UNIFIED_DIFF
16 changes: 11 additions & 5 deletions .github/workflows/appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,16 @@ jobs:
name: build AppImage
runs-on: ubuntu-latest
container:
image: ghcr.io/igaw/linux-nvme/debian:latest
image: ghcr.io/linux-nvme/debian:latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: fixup permissions
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
run: |
git config --global --add safe.directory "${GITHUB_WORKSPACE}"
- name: build
run: |
scripts/build.sh appimage
Expand All @@ -36,11 +43,10 @@ jobs:
needs: build-appimage
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'linux-nvme/nvme-cli' }}
steps:
- name: Download artifact
uses: dawidd6/action-download-artifact@v6
- uses: actions/download-artifact@v4
with:
workflow: ${{ github.event.workflow_run.workflow_id }}
workflow_conclusion: success
name: AppImage
path: AppImage
- name: FTP Deployer
uses: sand4rt/[email protected]
with:
Expand Down
20 changes: 13 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
compiler: [gcc, clang]
buildtype: [debug, release]
container:
image: ghcr.io/igaw/linux-nvme/debian.python:latest
image: ghcr.io/linux-nvme/debian.python:latest
steps:
- uses: actions/checkout@v4
- name: build
Expand All @@ -43,10 +43,16 @@ jobs:
- uses: actions/checkout@v4
- name: enable foreign arch
uses: dbhi/qus/action@main
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: compile and run unit tests
uses: mosteo-actions/docker-run@v1
uses: mosteo-actions/docker-run@v2
with:
image: ghcr.io/igaw/linux-nvme/ubuntu-cross-${{ matrix.arch }}:latest
image: ghcr.io/linux-nvme/ubuntu-cross-${{ matrix.arch }}:latest
guest-dir: /build
host-dir: ${{ github.workspace }}
command: |
Expand All @@ -65,7 +71,7 @@ jobs:
name: fallback shared libraries
runs-on: ubuntu-latest
container:
image: ghcr.io/igaw/linux-nvme/debian:latest
image: ghcr.io/linux-nvme/debian:latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
Expand All @@ -83,7 +89,7 @@ jobs:
name: muon minimal static
runs-on: ubuntu-latest
container:
image: ghcr.io/igaw/linux-nvme/debian:latest
image: ghcr.io/linux-nvme/debian:latest
steps:
- uses: actions/checkout@v4
- name: build
Expand All @@ -94,7 +100,7 @@ jobs:
name: make static
runs-on: ubuntu-latest
container:
image: ghcr.io/igaw/linux-nvme/debian:latest
image: ghcr.io/linux-nvme/debian:latest
steps:
- uses: actions/checkout@v4
- name: build
Expand All @@ -105,7 +111,7 @@ jobs:
name: build libnvme and nvme-cli separately
runs-on: ubuntu-latest
container:
image: ghcr.io/igaw/linux-nvme/debian:latest
image: ghcr.io/linux-nvme/debian:latest
steps:
- uses: actions/checkout@v4
- name: build
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ jobs:
name: code coverage
runs-on: ubuntu-latest
container:
image: ghcr.io/igaw/linux-nvme/debian.python:latest
image: ghcr.io/linux-nvme/debian.python:latest
steps:
- uses: actions/checkout@v4
- name: build
run: |
scripts/build.sh coverage
- uses: codecov/codecov-action@v4
- uses: codecov/codecov-action@v5
with:
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
26 changes: 26 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: docs

on:
push:
branches: [master]
paths:
- Documentation/**
pull_request:
branches: [master]
paths:
- Documentation/**

workflow_dispatch:

jobs:
build-docs:
name: build documentation
runs-on: ubuntu-latest
container:
image: ghcr.io/linux-nvme/debian:latest
steps:
- uses: actions/checkout@v4
- name: build
run: |
scripts/build.sh docs
72 changes: 72 additions & 0 deletions .github/workflows/run-nightly-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
name: run-nightly-tests

on:
workflow_dispatch:
schedule:
- cron: '0 01 * * *'

jobs:
nightly-tests:
runs-on: nvme-nvm
container:
image: ghcr.io/linux-nvme/debian.python:latest
#Expose all devices to the container through the `privileged` flag.
#
#BDEV0 is an environment variable of the self-hosted runner instance
#that contains a valid nvme ctrl name which is capable of the nvm
#command set.
options: '--privileged -v "/dev":"/dev":z -e BDEV0'
steps:
- name: Output kernel version
run: |
uname -a
- uses: actions/checkout@v4
- name: Install dependencies
run: |
PIPX_BIN_DIR=/usr/local/bin pipx install nose2 --force
- name: Build and install nvme-cli
run: |
scripts/build.sh -b release -c gcc
- name: Overwrite test config
run: |
CONTROLLER=$(echo /dev/${BDEV0} | sed 's/n[0-9]*$//')
cat > tests/config.json << EOF
{
"controller" : "$CONTROLLER",
"ns1": "/dev/${BDEV0}",
"log_dir": "tests/nvmetests/",
"nvme_bin": "$(pwd)/.build-ci/nvme"
}
EOF
cat tests/config.json
- name: Run on device tests
run: |
nose2 --verbose --start-dir tests \
nvme_attach_detach_ns_test \
nvme_compare_test \
nvme_copy_test \
nvme_create_max_ns_test \
nvme_ctrl_reset_test \
nvme_dsm_test \
nvme_error_log_test \
nvme_flush_test \
nvme_format_test \
nvme_fw_log_test \
nvme_get_features_test \
nvme_get_lba_status_test \
nvme_id_ctrl_test \
nvme_id_ns_test \
nvme_lba_status_log_test \
nvme_read_write_test \
nvme_smart_log_test \
nvme_verify_test \
nvme_writeuncor_test \
nvme_writezeros_test
- name: Upload logs
uses: actions/upload-artifact@v4
if: always()
with:
name: nvme-cli-test-logs
path: |
./tests/nvmetests/**/*.log
22 changes: 22 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,28 @@ Please feel free to use the github forums to ask for comments & questions on
your code before submitting a pull request. The NVMe CLI project uses the
common *fork and merge* workflow used by most GitHub-hosted projects.

#### Commit conventions

The project follows the Linux kernel mailing list workflow,
thus commit messages should be structured like this:
```
<feature|plugin|subject>: <commit message>

<description of the feature>

Signed-off-by: My Name/alias <[email protected]>
```

Example:

```
doc: added commit conventions to contribution guidelines

Show new contributors the project's commit guidelines

Signed-off-by: John Doe <[email protected]>
```

### Bug Reports

Bugs for the NVM Library project are tracked in our [GitHub Issues Database](https://github.com/linux-nvme/nvme-cli/issues).
39 changes: 39 additions & 0 deletions Documentation/cmd-plugins.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ linknvme:nvme-micron-smart-add-log[1]::
linknvme:nvme-micron-temperature-stats[1]::
Retrieves temperature information of given micron device

linknvme:nvme-ocp-internal-log[1]::
Retrieves and parses OCP Telemetry DA1 and DA2 logs.

linknvme:nvme-netapp-ontapdevices[1]::
Display information about ONTAP devices

Expand Down Expand Up @@ -201,3 +204,39 @@ linknvme:nvme-zns-zrwa-flush-zone[1]::

linknvme:nvme-inspur-nvme-vendor-log[1]::
NVMe Inspur Device Vendor log page request

linknvme:nvme-dapustor-smart-log-add[1]::
NVMe DapuStor Additional SMART log page

linknvme:nvme-solidigm-id-ctrl[1]::
Solidigm - NVMe Identify Controller

linknvme:nvme-solidigm-smart-log-add[1]::
Retrieve Solidigm SMART Log

linknvme:nvme-solidigm-vs-internal-log[1]::
Retrieve Debug log binaries

linknvme:nvme-solidigm-garbage-collect-log[1]::
Retrieve Garbage Collection Log

linknvme:nvme-solidigm-market-log[1]::
Retrieve Market Log

linknvme:nvme-solidigm-latency-tracking-log[1]::
Enable/Retrieve Latency tracking Log

linknvme:nvme-solidigm-parse-telemetry-log[1]::
Parse Telemetry Log binary

linknvme:nvme-solidigm-log-page-directory[1]::
Retrieve log page directory

linknvme:nvme-solidigm-temp-stats[1]::
Retrieve Temperature Statistics log

linknvme:nvme-solidigm-vs-drive-info[1]::
Retrieve drive information

linknvme:nvme-solidigm-workload-tracker[1]::
Real Time capture Workload Tracker samples
Loading