]> www.infradead.org Git - users/sagi/nvme-cli.git/log
users/sagi/nvme-cli.git
3 years agoplugins/wdc: prevent double close in wdc_do_cap_telemetry_log
Jeremy Kerr [Tue, 12 Jul 2022 07:27:55 +0000 (15:27 +0800)]
plugins/wdc: prevent double close in wdc_do_cap_telemetry_log

Currently, wdc_do_cap_telemetry_log will close the NVMe fd before
returning, but so it all of its call sites. Since we'd be better off
making the fd open/close symmetrical, drop the close from
wdc_do_cap_telemetry_log.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
3 years agoMerge pull request #1591 from igaw/update-json-c
Daniel Wagner [Mon, 4 Jul 2022 11:35:28 +0000 (13:35 +0200)]
Merge pull request #1591 from igaw/update-json-c

build: Update json-c.wrap

3 years agoMerge pull request #1592 from igaw/auto-review-bot-perm
Daniel Wagner [Mon, 4 Jul 2022 11:35:05 +0000 (13:35 +0200)]
Merge pull request #1592 from igaw/auto-review-bot-perm

build: Give auto review bot write permission on pull request

3 years agobuild: Give auto review bot write permission on pull request
Daniel Wagner [Mon, 4 Jul 2022 11:02:04 +0000 (13:02 +0200)]
build: Give auto review bot write permission on pull request

Currently setting the reviewer from the bot fails with:
  Error: HttpError: Resource not accessible by integration

The GITHUB_TOKEN needs enough permission to update the PR.

Links: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agobuild: Update json-c.wrap
Daniel Wagner [Mon, 4 Jul 2022 10:43:54 +0000 (12:43 +0200)]
build: Update json-c.wrap

Update to the latest the json-c wrap version.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agoudev: re-read the discovery log page when a discovery controller reconnected
Sagi Grimberg [Mon, 27 Jun 2022 08:06:50 +0000 (11:06 +0300)]
udev: re-read the discovery log page when a discovery controller reconnected

When using persistent discovery controllers, if the discovery
controller loses connectivity and manage to reconnect after a while,
we need to retrieve again the discovery log page in order to learn
about possible changes that may have occurred during this time as
discovery log change events were lost.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Link: https://lore.kernel.org/r/20220627080650.108936-1-sagi@grimberg.me
3 years agoMerge pull request #1590 from sc108-lee/rpm
Daniel Wagner [Fri, 1 Jul 2022 06:34:02 +0000 (08:34 +0200)]
Merge pull request #1590 from sc108-lee/rpm

rpmbuild: Do docs build to avoid error from missing .1, .html files

3 years agorpmbuild: Do docs build to avoid error from missing .1, .html files
Steven Seungcheol Lee [Fri, 1 Jul 2022 06:21:34 +0000 (15:21 +0900)]
rpmbuild: Do docs build to avoid error from missing .1, .html files

Program asciidoc found: YES (/usr/bin/asciidoc)
Documentation/meson.build:253:8: ERROR: File nvme-wdc-cloud-boot-SSD-version.1 does not exist.

Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
3 years agoMerge pull request #1588 from lgdacunha/average_latency_tracking
Daniel Wagner [Thu, 30 Jun 2022 11:42:04 +0000 (13:42 +0200)]
Merge pull request #1588 from lgdacunha/average_latency_tracking

Added average latency field to solidigm latency-tracking-log.

3 years agosolidigm: Add average latency field
da Cunha, Leonardo [Tue, 28 Jun 2022 19:40:28 +0000 (15:40 -0400)]
solidigm: Add average latency field

Add average latency field to solidigm latency-tracking-log.

While at it also remove the -b flag option from solidigm plug-in, in
favor of "-o binary".

3 years agoci: Add missing per_author reviewer entry
Daniel Wagner [Thu, 30 Jun 2022 06:05:26 +0000 (08:05 +0200)]
ci: Add missing per_author reviewer entry

"per_author" is not set; returning no reviewers for the author.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agoMerge pull request #1583 from lgdacunha/Solidigm_Latency_Tracking
Daniel Wagner [Mon, 27 Jun 2022 07:02:29 +0000 (09:02 +0200)]
Merge pull request #1583 from lgdacunha/Solidigm_Latency_Tracking

Added support to Solidigm Latency Tracking.

3 years agoAdded support to Solidigm Latency Tracking.
da Cunha, Leonardo [Fri, 3 Jun 2022 22:49:09 +0000 (18:49 -0400)]
Added support to Solidigm Latency Tracking.

[dwagner: whitespace fixes]
Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agoMerge pull request #1585 from igaw/add-autor-review
Daniel Wagner [Mon, 27 Jun 2022 06:27:10 +0000 (08:27 +0200)]
Merge pull request #1585 from igaw/add-autor-review

ci: Add auto review bot

3 years agoMerge pull request #1584 from glimchb/dell
Daniel Wagner [Fri, 24 Jun 2022 11:13:34 +0000 (13:13 +0200)]
Merge pull request #1584 from glimchb/dell

plugins: Add Dell plugin with basic id-ctrl

3 years agoMerge pull request #1578 from zwhfly/master
Daniel Wagner [Fri, 24 Jun 2022 09:47:55 +0000 (11:47 +0200)]
Merge pull request #1578 from zwhfly/master

docs: Document nvme-id-ns behavior when nsid is 0xFFFFFFFF

3 years agodocs: Document nvme-id-ns behavior when nsid is 0xFFFFFFFF
zwhfly [Tue, 21 Jun 2022 05:10:07 +0000 (13:10 +0800)]
docs: Document nvme-id-ns behavior when nsid is 0xFFFFFFFF

as documented in NVM Command Set Specification Revision 1.0b,
chapter 4.1.5.1 - NVM Command Set Identify Namespace Data Structure (CNS 00h).

3 years agoci: Add auto review bot
Daniel Wagner [Fri, 24 Jun 2022 07:05:18 +0000 (09:05 +0200)]
ci: Add auto review bot

Arthur has asked to be added as reviewer to the OCP plugin changes.
Let's setup an auto review bot. We might also want to hook up this for
the other plugins in the future.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agoplugins: Add Dell plugin with basic id-ctrl
Boris Glimcher [Thu, 23 Jun 2022 22:38:46 +0000 (01:38 +0300)]
plugins: Add Dell plugin with basic id-ctrl

Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
3 years agoMerge pull request #1581 from AndyHouHit/master
Daniel Wagner [Wed, 22 Jun 2022 11:15:29 +0000 (13:15 +0200)]
Merge pull request #1581 from AndyHouHit/master

create-ns: fix create-ns fail when -b 4096 while id-ns return nlbaf=1…

3 years agocreate-ns: fix create-ns fail when -b 4096 while id-ns return nlbaf=1 and 0 for 512...
Wei Hou [Wed, 22 Jun 2022 09:41:08 +0000 (17:41 +0800)]
create-ns: fix create-ns fail when -b 4096 while id-ns return nlbaf=1 and 0 for 512, 1 for 4096

Fail case:
    sudo nvme create-ns /dev/nvme0 --nsze=1875366486   --ncap=937684566  --block-size=4096  --timeout=120000
        FLBAS corresponding to block size 4096 not found
        Please correct block size, or specify FLBAS directly

Signed-off-by: Wei Hou <wei.hou@scaleflux.com>
3 years agoMerge pull request #1579 from igaw/add-innogrid-plugin
Daniel Wagner [Tue, 21 Jun 2022 09:30:04 +0000 (11:30 +0200)]
Merge pull request #1579 from igaw/add-innogrid-plugin

plugins: Add innogrit plugin

3 years agoplugins: Add innogrit plugin
innogritkenny [Tue, 21 Jun 2022 01:57:29 +0000 (09:57 +0800)]
plugins: Add innogrit plugin

Add support for the innogrit plugin. It supports following commands:

   smart-log-add
   get-eventlog
   get-cdump

Code provided by innogritkenny
[dwagner: Whitespace fixes and small code refactorings.
          Added a commit message]
Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agoMerge pull request #1575 from Karlson2k/completion_fixes_02
Daniel Wagner [Fri, 17 Jun 2022 16:40:54 +0000 (18:40 +0200)]
Merge pull request #1575 from Karlson2k/completion_fixes_02

bash-nvme-completion.sh: a better fix for "readonly" with bash 5.x

3 years agobash-nvme-completion.sh: a better fix for "readonly" with bash 5.x
Evgeny Grin [Fri, 17 Jun 2022 12:00:39 +0000 (15:00 +0300)]
bash-nvme-completion.sh: a better fix for "readonly" with bash 5.x

The error with one-line "readonly" with assignment on bash 5.x was fixed
by 25fd8c707b106ca0763402566ad657ef710bf09e. This commit restores "readonly"
functionality and adds some uniformity.

3 years agoMerge pull request #1574 from Karlson2k/completion_fixes_01
Daniel Wagner [Fri, 17 Jun 2022 12:25:35 +0000 (14:25 +0200)]
Merge pull request #1574 from Karlson2k/completion_fixes_01

Bash Completion fixes

3 years agobash-nvme-completion.sh: fixed typo with seagate plugin
Evgeny Grin [Fri, 17 Jun 2022 12:08:02 +0000 (15:08 +0300)]
bash-nvme-completion.sh: fixed typo with seagate plugin

Obvious typo resulted in broken completion for seagete plugin

3 years agobash-nvme-completion.sh: fixed error when sourced twice
Evgeny Grin [Fri, 17 Jun 2022 12:00:39 +0000 (15:00 +0300)]
bash-nvme-completion.sh: fixed error when sourced twice

One-line "readonly" with assignment produce error if completion file
is sourced for the second time (/etc/profile reload, su etc.)

3 years agoMerge pull request #1572 from jeffreyalien/stc-control-bit-fix
Daniel Wagner [Fri, 17 Jun 2022 11:08:04 +0000 (13:08 +0200)]
Merge pull request #1572 from jeffreyalien/stc-control-bit-fix

Fix to set correct bit  for Storage Tag Check in the IO Control Flags

3 years agoMerge pull request #1573 from igaw/tests-port-nose2
Daniel Wagner [Fri, 17 Jun 2022 11:02:54 +0000 (13:02 +0200)]
Merge pull request #1573 from igaw/tests-port-nose2

tests: Port to nose2 and unittest

3 years agotests: Port to nose2 and unittest
Daniel Wagner [Fri, 17 Jun 2022 08:31:42 +0000 (10:31 +0200)]
tests: Port to nose2 and unittest

The test are still using nose which has been superseeded by
nose2. Update the tests to use the nose2 and unittest.

To minimize errors in most of the porting is done using sed, e.g
's/TestNVMeIO.__init__(self)/super().setUp()/g'.

While at it also update the build system and move the test files to
the build dir. This avoids in tree exectution of the Python files
which leaves the __pycache__ dir in the source tree.

This also fixes the problem, that the config file is not found when
'meson test -C .build' is used. We have the prober dir structure for
Python and nose2 to find all resources in the build root. Furthermore,
when running the tests the output is captured in the nvmetests
dir. This dir is also created under the build root dir.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agonvme: Fix Storage Tag Check IO Control Flag
Jeff Lien [Tue, 7 Jun 2022 20:11:29 +0000 (15:11 -0500)]
nvme: Fix Storage Tag Check IO Control Flag

Signed-off-by: Jeff Lien <jeff.lien@wdc.com>
3 years agobuild: Update libnvme.wrap revision
Jeff Lien [Tue, 14 Jun 2022 15:05:15 +0000 (10:05 -0500)]
build: Update libnvme.wrap revision

Signed-off-by: Jeff Lien <jeff.lien@wdc.com>
3 years agoMerge pull request #1571 from jeffreyalien/sn560-capabilities
Daniel Wagner [Tue, 14 Jun 2022 15:39:47 +0000 (17:39 +0200)]
Merge pull request #1571 from jeffreyalien/sn560-capabilities

wdc: Increment WDC Plugin Version

3 years agowdc: Increment WDC Plugin Version
Jeff Lien [Tue, 14 Jun 2022 14:28:20 +0000 (09:28 -0500)]
wdc: Increment WDC Plugin Version

Signed-off-by: Jeff Lien <jeff.lien@wdc.com>
3 years agoMerge pull request #1568 from jeffreyalien/sn560-capabilities
Daniel Wagner [Tue, 14 Jun 2022 11:06:18 +0000 (13:06 +0200)]
Merge pull request #1568 from jeffreyalien/sn560-capabilities

wdc: Fix SN560 Device Capabilities

3 years agoMerge pull request #1570 from igaw/sfx-get_lat_stats_log-csd3000
Daniel Wagner [Tue, 14 Jun 2022 11:05:24 +0000 (13:05 +0200)]
Merge pull request #1570 from igaw/sfx-get_lat_stats_log-csd3000

Sfx get lat stats log csd3000

3 years agosfx: remove unsupport ouptut option for query_cap and change_cap cmd
Wei Hou [Tue, 14 Jun 2022 06:14:42 +0000 (14:14 +0800)]
sfx: remove unsupport ouptut option for query_cap and change_cap cmd

Signed-off-by: Wei Hou <wei.hou@scaleflux.com>
3 years agosfx: get_lat_stats_log support for csd3000
Wei Hou [Tue, 14 Jun 2022 06:09:00 +0000 (14:09 +0800)]
sfx: get_lat_stats_log support for csd3000

Signed-off-by: Wei Hou <wei.hou@scaleflux.com>
3 years agoMerge pull request #1567 from linux-nvme/dependabot/github_actions/actions/setup...
Daniel Wagner [Tue, 14 Jun 2022 09:50:45 +0000 (11:50 +0200)]
Merge pull request #1567 from linux-nvme/dependabot/github_actions/actions/setup-python-4

build(deps): bump actions/setup-python from 3 to 4

3 years agobuild(deps): bump actions/setup-python from 3 to 4
dependabot[bot] [Tue, 14 Jun 2022 09:46:39 +0000 (09:46 +0000)]
build(deps): bump actions/setup-python from 3 to 4

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoMerge pull request #1569 from igaw/ci-add-python-version
Daniel Wagner [Tue, 14 Jun 2022 09:45:36 +0000 (11:45 +0200)]
Merge pull request #1569 from igaw/ci-add-python-version

ci: add python version to setup-python environment

3 years agoci: add python version to setup-python environment
Daniel Wagner [Tue, 14 Jun 2022 09:44:59 +0000 (11:44 +0200)]
ci: add python version to setup-python environment

v4 of the setup-python helper wants to know the python version number.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agowdc: Fix SN560 Device Capabilities
Jeff Lien [Mon, 13 Jun 2022 18:39:33 +0000 (13:39 -0500)]
wdc: Fix SN560 Device Capabilities

Signed-off-by: Jeff Lien <jeff.lien@wdc.com>
3 years agoMerge pull request #1566 from igaw/add-kernel-dep-note
Daniel Wagner [Mon, 13 Jun 2022 11:58:20 +0000 (13:58 +0200)]
Merge pull request #1566 from igaw/add-kernel-dep-note

README: add note about min kernel version

3 years agoREADME: add note about min kernel version
Daniel Wagner [Mon, 13 Jun 2022 11:24:43 +0000 (13:24 +0200)]
README: add note about min kernel version

The min kernel version is v4.15 kernel because libnvme depends on the
/sys/class/nvme-subsystem interface.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agoMerge pull request #1564 from jlevon/fix-compare
Daniel Wagner [Mon, 13 Jun 2022 07:13:03 +0000 (09:13 +0200)]
Merge pull request #1564 from jlevon/fix-compare

submit_io(): fix "nvme compare" to pass correct command

3 years agosubmit_io(): fix "nvme compare" to pass correct command
John Levon [Thu, 9 Jun 2022 16:32:26 +0000 (16:32 +0000)]
submit_io(): fix "nvme compare" to pass correct command

Since "18de3a6d Convert to libnvme", an "nvme compare" was being
converted incorrectly into an "nvme write" in submit_io().

Signed-off-by: John Levon <john.levon@nutanix.com>
3 years agoMerge pull request #1561 from ankit-sam/master
Daniel Wagner [Mon, 13 Jun 2022 07:03:12 +0000 (09:03 +0200)]
Merge pull request #1561 from ankit-sam/master

libnvme wrap update, update power descriptor fields

3 years agoprint: Update power descriptor fields
Ankit Kumar [Thu, 9 Jun 2022 15:42:06 +0000 (21:12 +0530)]
print: Update power descriptor fields

1. Add missing active power workload field.
2. Use enums for power scale.
3. Fix indentation.
4. Update json entry for active power workload and
   fix idle scale.

Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com>
3 years agobuild: update libnvme wrap
Ankit Kumar [Thu, 9 Jun 2022 15:29:55 +0000 (20:59 +0530)]
build: update libnvme wrap

Fetch power state descriptor enums from libnvme

Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com>
3 years agoMerge pull request #1554 from hanumanthuh/master
Daniel Wagner [Wed, 8 Jun 2022 10:56:54 +0000 (12:56 +0200)]
Merge pull request #1554 from hanumanthuh/master

Micron plugin version 1.0.14

3 years agoMicron plugin version 1.0.14
Hanumanthu H [Sun, 5 Jun 2022 06:01:46 +0000 (11:31 +0530)]
Micron plugin version 1.0.14

3 years agoMerge pull request #1550 from igaw/log-connect-errors
Daniel Wagner [Fri, 3 Jun 2022 10:53:22 +0000 (12:53 +0200)]
Merge pull request #1550 from igaw/log-connect-errors

Log connect errors

3 years agofabrics: Already connected uses a different error code
Daniel Wagner [Thu, 2 Jun 2022 13:26:11 +0000 (15:26 +0200)]
fabrics: Already connected uses a different error code

The libnvme library reports connection errors with it's own error
codes, e.g. ENVME_CONNECT_ALREADY stands for already connected. Update
the connect-all call so that it prints 'already connected' again.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agobuild: Update libnvme wrap
Daniel Wagner [Thu, 2 Jun 2022 12:34:44 +0000 (14:34 +0200)]
build: Update libnvme wrap

Get connect error codes feature from libnvme

Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agoMerge pull request #1549 from igaw/list-subsys-ana
Daniel Wagner [Fri, 3 Jun 2022 10:43:35 +0000 (12:43 +0200)]
Merge pull request #1549 from igaw/list-subsys-ana

nvme-print: Show ANA state only for one namespace

3 years agoMerge pull request #1552 from ankit-sam/master
Daniel Wagner [Fri, 3 Jun 2022 08:56:02 +0000 (10:56 +0200)]
Merge pull request #1552 from ankit-sam/master

print: Update nvme id-ctrl ctratt fields and small cleanup

3 years agoprint: Update nvme id-ctrl ctratt fields and small cleanup
Ankit Kumar [Fri, 3 Jun 2022 13:55:16 +0000 (19:25 +0530)]
print: Update nvme id-ctrl ctratt fields and small cleanup

Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com>
3 years agonvme-print: Show ANA state only for one namespace
Daniel Wagner [Thu, 2 Jun 2022 08:58:42 +0000 (10:58 +0200)]
nvme-print: Show ANA state only for one namespace

'nvme list-subsys' shows the state of all controllers belonging to a
subsystem. The ANA state is a per namespace attribute hence it only
makes sense to show it if the user lists the subsystem for a
namespace.

Fixes: 7435ed9ae6a6 ("nvme-print: Show paths from the first namespace only")
Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agoMerge pull request #1532 from jeffreyalien/tp-4068-4084-master
Daniel Wagner [Thu, 2 Jun 2022 07:57:12 +0000 (09:57 +0200)]
Merge pull request #1532 from jeffreyalien/tp-4068-4084-master

Changes to support TP-4068  and TP-4084

3 years agodoc: Update to verify and write-zeroes for TP-4068
Jeff Lien [Fri, 20 May 2022 20:34:22 +0000 (15:34 -0500)]
doc: Update to verify and write-zeroes for TP-4068

Signed-off-by: Jeff Lien <jeff.lien@wdc.com>
3 years agonvme: 64-bit Reference Tags and TP-4068 changes
Brandon Paupore [Fri, 18 Mar 2022 22:03:06 +0000 (17:03 -0500)]
nvme: 64-bit Reference Tags and TP-4068 changes

Signed-off-by: Brandon Paupore <brandon.paupore@wdc.com>
Signed-off-by: Jeff Lien <jeff.lien@wdc.com>
3 years agoprint: Update show-regs for TP-4084
Jeff Lien [Wed, 13 Apr 2022 14:44:35 +0000 (09:44 -0500)]
print: Update show-regs for TP-4084

Signed-off-by: Jeff Lien <jeff.lien@wdc.com>
3 years agoprint: Fix json_ctrl_registers 64 bit fields
Jeff Lien [Wed, 1 Jun 2022 18:43:44 +0000 (13:43 -0500)]
print: Fix json_ctrl_registers 64 bit fields

Signed-off-by: Jeff Lien <jeff.lien@wdc.com>
3 years agobuild: Update libnvme dependency revision
Jeff Lien [Wed, 1 Jun 2022 19:12:37 +0000 (14:12 -0500)]
build: Update libnvme dependency revision

Get the TP-4068 and TP-4084 changes.

Signed-off-by: Jeff Lien <jeff.lien@wdc.com>
3 years agoMerge pull request #1548 from jeffreyalien/new-dev-support
Daniel Wagner [Thu, 2 Jun 2022 07:42:50 +0000 (09:42 +0200)]
Merge pull request #1548 from jeffreyalien/new-dev-support

wdc:  Add support for new WDC Devices

3 years agoMerge pull request #1547 from igaw/build-docs-on-arch
Daniel Wagner [Thu, 2 Jun 2022 07:41:18 +0000 (09:41 +0200)]
Merge pull request #1547 from igaw/build-docs-on-arch

docs: Don't confuse asciidoc with asciidoctor

3 years agowdc: Add support for new WDC Devices
Jeff Lien [Wed, 1 Jun 2022 17:58:11 +0000 (12:58 -0500)]
wdc:  Add support for new WDC Devices

Signed-off-by: Jeff Lien <jeff.lien@wdc.com>
3 years agodocs: Don't confuse asciidoc with asciidoctor
Daniel Wagner [Wed, 1 Jun 2022 13:53:18 +0000 (15:53 +0200)]
docs: Don't confuse asciidoc with asciidoctor

Apparently, asciidoc and asciidoctor are two different
projects. nvme-cli depends on the former. Depend on asciidoc only and
make it a hard dependency when the user ask to build the doc.

Fixes: 6b18babf40d4 ("docs: Search for 'asciidoctor' as alternative")
Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agoMerge pull request #1545 from igaw/build-docs-on-arch
Daniel Wagner [Tue, 31 May 2022 18:34:06 +0000 (20:34 +0200)]
Merge pull request #1545 from igaw/build-docs-on-arch

docs: Search for 'asciidoctor' as alternative

3 years agodocs: Search for 'asciidoctor' as alternative
Daniel Wagner [Tue, 31 May 2022 18:26:12 +0000 (20:26 +0200)]
docs: Search for 'asciidoctor' as alternative

There are alternative binary names for asciidoctor. Search for
'asciidoc' or 'asciidoctor' when building the docs.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agoMerge pull request #1540 from igaw/list-subsys-show-path-once
Daniel Wagner [Fri, 27 May 2022 16:09:25 +0000 (18:09 +0200)]
Merge pull request #1540 from igaw/list-subsys-show-path-once

nvme-print: Show paths from the first namespace only

3 years agoMerge pull request #1537 from lgdacunha/Solidigm_VU_garbage_collect_log
Daniel Wagner [Fri, 27 May 2022 16:08:49 +0000 (18:08 +0200)]
Merge pull request #1537 from lgdacunha/Solidigm_VU_garbage_collect_log

Added Vendor Unique Solidigm Garbage Collect Log.

3 years agoAdded Vendor Unique Solidigm Garbage Collect Log.
da Cunha, Leonardo [Fri, 6 May 2022 23:34:56 +0000 (19:34 -0400)]
Added Vendor Unique Solidigm Garbage Collect Log.

3 years agonvme-print: Show paths from the first namespace only
Daniel Wagner [Wed, 25 May 2022 15:33:08 +0000 (17:33 +0200)]
nvme-print: Show paths from the first namespace only

When listing the subsystem, show the path from the first namespace
only. Every namespace has the same paths for a subsystem. This avoids
listening the same controllers for each namespace.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agoMerge pull request #1531 from igaw/apply-json-config
Daniel Wagner [Tue, 24 May 2022 13:12:07 +0000 (15:12 +0200)]
Merge pull request #1531 from igaw/apply-json-config

fabrics: Honor config file for connect-all

3 years agofabrics: Honor config file for connect-all
Daniel Wagner [Thu, 19 May 2022 12:14:47 +0000 (14:14 +0200)]
fabrics: Honor config file for connect-all

The command line option -J config.json allows to provide a
configuration via a JSON file. We handle this correctly for the
'connect' case but fail to apply the configuration for 'connect-all'
because we missed to add nvme_read_config() in this path.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agoMerge pull request #1528 from igaw/fix-mec-field
Daniel Wagner [Wed, 18 May 2022 12:25:58 +0000 (14:25 +0200)]
Merge pull request #1528 from igaw/fix-mec-field

nvme-print: Show mec field in human output instead of vwci

3 years agonvme-print: Show mec field in human output instead of vwci
Daniel Wagner [Wed, 18 May 2022 12:17:03 +0000 (14:17 +0200)]
nvme-print: Show mec field in human output instead of vwci

Looks like a copy&past error for the human output.

Reported-by: mgerdts
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Fix: 43460fcce21b ("nvme: add identify controller structure 2.0 spec. fields")

3 years agoMerge pull request #1526 from igaw/clarify-lisence
Daniel Wagner [Wed, 18 May 2022 11:57:57 +0000 (13:57 +0200)]
Merge pull request #1526 from igaw/clarify-lisence

treewide: Add SPDX identifier

3 years agobuild: Clarify current main project license
Daniel Wagner [Wed, 18 May 2022 06:19:23 +0000 (08:19 +0200)]
build: Clarify current main project license

The original desired license for the project was GPL-2.0-or-later
but during the development a few files (e.g. fabrics.c and nvme.h)
got added which are licensed as GPL-2.0-only, which renders the
whole project to GPL-2.0-only.

Update the meson license field and the nvme.spec license field.
While at it mentions this in the contributions notes as well.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agotreewide: Add SPDX identifier
Daniel Wagner [Mon, 16 May 2022 14:02:17 +0000 (16:02 +0200)]
treewide: Add SPDX identifier

Add the default project wide license SPDX identifier GPL-2.0-or-later
to all files which do not have any copyright statement.

Add the GPL-2.0-or-later or GPL-2.0-only according the copyright
statement listed in the file.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agoocp: Update license to GPL-2.0-or-later
Daniel Wagner [Tue, 17 May 2022 06:02:56 +0000 (08:02 +0200)]
ocp: Update license to GPL-2.0-or-later

When I reviewed the plugin I asked wrongly for GPL-2.0-only. The
project is using the GPL-2.0-or-later license. Relax the license
requirement to GPL-2.0-or-later.

Cc: Wei Zhang <wzhang@fb.com>
Cc: Venkat Ramesh <venkatraghavan@fb.com>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Arthur Shau <arthurshau@fb.com>
Link: https://lore.kernel.org/r/20220517060256.6733-1-dwagner@suse.de
3 years agonvme-rpmb: Update license to GPL-2.0-or-later
Daniel Wagner [Tue, 17 May 2022 06:20:23 +0000 (08:20 +0200)]
nvme-rpmb: Update license to GPL-2.0-or-later

The project is using the GPL-2.0-or-later license. Relax the license
requirement to GPL-2.0-or-later.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Hanumanthu H <hanumanthuh@micron.com>
Link: https://lore.kernel.org/r/20220517062806.9448-1-dwagner@suse.de
3 years agoMerge pull request #1525 from glimchb/master
Daniel Wagner [Tue, 17 May 2022 14:52:27 +0000 (16:52 +0200)]
Merge pull request #1525 from glimchb/master

ci: add static library compilation

3 years agoci: bump meson version from 0.53.2 to 0.61.2
Boris Glimcher [Tue, 17 May 2022 14:47:45 +0000 (17:47 +0300)]
ci: bump meson version from 0.53.2 to 0.61.2

Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
3 years agoci: disable werror for uuid subproject
Boris Glimcher [Tue, 17 May 2022 12:22:47 +0000 (15:22 +0300)]
ci: disable werror for uuid subproject

Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
3 years agosubprojects: libnvme.wrap update for static uuid
Boris Glimcher [Mon, 16 May 2022 17:07:20 +0000 (20:07 +0300)]
subprojects: libnvme.wrap update for static uuid

Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
3 years agoci: add static library compilation
Boris Glimcher [Fri, 13 May 2022 19:33:51 +0000 (22:33 +0300)]
ci: add static library compilation

Now possible since we can use uuid for fallback

Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
3 years agoMerge pull request #1523 from jeffreyalien/sn810-2-master
Daniel Wagner [Tue, 17 May 2022 11:02:25 +0000 (13:02 +0200)]
Merge pull request #1523 from jeffreyalien/sn810-2-master

Changes for WDC SN810-2 Drive

3 years agoMerge pull request #1510 from lgdacunha/feature/SMART_VU_plugin
Daniel Wagner [Tue, 17 May 2022 10:52:04 +0000 (12:52 +0200)]
Merge pull request #1510 from lgdacunha/feature/SMART_VU_plugin

Feature/smart vu plugin

3 years agosolidigm: Add Solidigm pluging for vendor specific SMART fields.
da Cunha, Leonardo [Fri, 18 Mar 2022 19:45:43 +0000 (15:45 -0400)]
solidigm: Add Solidigm pluging for vendor specific SMART fields.

3 years agoMerge pull request #1527 from igaw/remove-parser
Daniel Wagner [Tue, 17 May 2022 06:40:45 +0000 (08:40 +0200)]
Merge pull request #1527 from igaw/remove-parser

util: Remove unused parser

3 years agoutil: Remove unused parser
Daniel Wagner [Tue, 17 May 2022 06:33:15 +0000 (08:33 +0200)]
util: Remove unused parser

There is no user for parser. Remove the implementation.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
3 years agoMerge pull request #1524 from glimchb/master
Daniel Wagner [Fri, 13 May 2022 15:36:06 +0000 (17:36 +0200)]
Merge pull request #1524 from glimchb/master

build: use uuid wrap for fallback build

3 years agobuild: use uuid wrap for fallback build
Boris Glimcher [Fri, 13 May 2022 15:27:03 +0000 (18:27 +0300)]
build: use uuid wrap for fallback build

see util-linux/util-linux#1657

Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
3 years agoMerge pull request #1518 from bmouring/master
Daniel Wagner [Fri, 13 May 2022 14:48:55 +0000 (16:48 +0200)]
Merge pull request #1518 from bmouring/master

completions: Collapse declaration and attribute assignment

3 years agoMerge pull request #1513 from Foxboron/morten/systemd-service
Daniel Wagner [Fri, 13 May 2022 14:42:00 +0000 (16:42 +0200)]
Merge pull request #1513 from Foxboron/morten/systemd-service

meson_options: Include system sub directory

3 years agoMerge pull request #1522 from igaw/sfx-byte-align
Daniel Wagner [Fri, 13 May 2022 14:28:06 +0000 (16:28 +0200)]
Merge pull request #1522 from igaw/sfx-byte-align

sfx: align fixes + smartlog