.\" Title: nvme-get-log
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\" 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
.\" -----------------------------------------------------------------
[\-\-raw\-binary | \-b]
[\-\-lpo=<offset> | \-o <offset>]
[\-\-lsp=<field> | \-s <field>]
+ [\-\-lsi=<field> | \-S <field>]
[\-\-rae | \-r]
.fi
.SH "DESCRIPTION"
The log specified field of LID\&.
.RE
.PP
+\-S <field>, \-\-lsi=<field>
+.RS 4
+The log specified field of Log Specific Identifier\&.
+.RE
+.PP
\-r, \-\-rae
.RS 4
Retain an Asynchronous Event\&.
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\r
<head>\r
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />\r
-<meta name="generator" content="AsciiDoc 8.6.10" />\r
+<meta name="generator" content="AsciiDoc 9.0.0rc2" />\r
<title>nvme-get-log(1)</title>\r
<style type="text/css">\r
/* Shared CSS for AsciiDoc xhtml11 and html5 backends */\r
p.table {\r
margin-top: 0;\r
}\r
-/* Because the table frame attribute is overriden by CSS in most browsers. */\r
+/* Because the table frame attribute is overridden by CSS in most browsers. */\r
div.tableblock > table[frame="void"] {\r
border-style: none;\r
}\r
[--raw-binary | -b]\r
[--lpo=<offset> | -o <offset>]\r
[--lsp=<field> | -s <field>]\r
+ [--lsi=<field> | -S <field>]\r
[--rae | -r]</pre>\r
<div class="attribution">\r
</div></div>\r
</p>\r
</dd>\r
<dt class="hdlist1">\r
+-S <field>\r
+</dt>\r
+<dt class="hdlist1">\r
+--lsi=<field>\r
+</dt>\r
+<dd>\r
+<p>\r
+ The log specified field of Log Specific Identifier.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
-r\r
</dt>\r
<dt class="hdlist1">\r
<div id="footer">\r
<div id="footer-text">\r
Last updated\r
- 2019-09-18 00:00:58 JST\r
+ 2021-01-13 23:17:32 JST\r
</div>\r
</div>\r
</body>\r
const char *aen = "result of the aen, use to override log id";
const char *lsp = "log specific field";
const char *lpo = "log page offset specifies the location within a log page from where to start returning data";
+ const char *lsi = "log specific identifier specifies an identifier that is required for a particular log page";
const char *rae = "retain an asynchronous event";
const char *raw = "output in raw format";
const char *uuid_index = "UUID index";
int err, fd;
struct config {
+ __u16 lsi;
__u32 namespace_id;
__u8 log_id;
__u32 log_len;
.log_len = 0,
.lpo = NVME_NO_LOG_LPO,
.lsp = NVME_NO_LOG_LSP,
+ .lsi = 0,
.rae = 0,
.uuid_index = 0,
};
OPT_UINT("aen", 'a', &cfg.aen, aen),
OPT_LONG("lpo", 'o', &cfg.lpo, lpo),
OPT_BYTE("lsp", 's', &cfg.lsp, lsp),
+ OPT_SHRT("lsi", 'S', &cfg.lsi, lsi),
OPT_FLAG("rae", 'r', &cfg.rae, rae),
OPT_BYTE("uuid-index", 'U', &cfg.uuid_index, uuid_index),
OPT_FLAG("raw-binary", 'b', &cfg.raw_binary, raw),
}
err = nvme_get_log14(fd, cfg.namespace_id, cfg.log_id,
- cfg.lsp, cfg.lpo, 0, cfg.rae,
+ cfg.lsp, cfg.lpo, cfg.lsi, cfg.rae,
cfg.uuid_index, cfg.log_len, log);
if (!err) {
if (!cfg.raw_binary) {