From b1ccd2ab9d3243cd1267cc9823a709a8883b23e2 Mon Sep 17 00:00:00 2001 From: Tokunori Ikegami Date: Tue, 27 Oct 2020 23:56:43 +0900 Subject: [PATCH] nvme-cli: Add lsi option for get-log command Previously lsi is set as 0 as hard coded value by the get-log command. To set this parameter by the command add lsi option for the command. Signed-off-by: Tokunori Ikegami --- Documentation/nvme-get-log.1 | 10 ++++++++-- Documentation/nvme-get-log.html | 18 +++++++++++++++--- Documentation/nvme-get-log.txt | 5 +++++ nvme.c | 6 +++++- 4 files changed, 33 insertions(+), 6 deletions(-) diff --git a/Documentation/nvme-get-log.1 b/Documentation/nvme-get-log.1 index 98f81a8f..3bb802a4 100644 --- a/Documentation/nvme-get-log.1 +++ b/Documentation/nvme-get-log.1 @@ -2,12 +2,12 @@ .\" Title: nvme-get-log .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot -.\" Date: 10/20/2020 +.\" Date: 01/13/2021 .\" Manual: NVMe Manual .\" Source: NVMe .\" Language: English .\" -.TH "NVME\-GET\-LOG" "1" "10/20/2020" "NVMe" "NVMe Manual" +.TH "NVME\-GET\-LOG" "1" "01/13/2021" "NVMe" "NVMe Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -39,6 +39,7 @@ nvme-get-log \- Retrieves a log page from an NVMe device [\-\-raw\-binary | \-b] [\-\-lpo= | \-o ] [\-\-lsp= | \-s ] + [\-\-lsi= | \-S ] [\-\-rae | \-r] .fi .SH "DESCRIPTION" @@ -85,6 +86,11 @@ The log page offset specifies the location within a log page to start returning The log specified field of LID\&. .RE .PP +\-S , \-\-lsi= +.RS 4 +The log specified field of Log Specific Identifier\&. +.RE +.PP \-r, \-\-rae .RS 4 Retain an Asynchronous Event\&. diff --git a/Documentation/nvme-get-log.html b/Documentation/nvme-get-log.html index 9aa20e04..6244427a 100644 --- a/Documentation/nvme-get-log.html +++ b/Documentation/nvme-get-log.html @@ -4,7 +4,7 @@ - + nvme-get-log(1)