From 97ca8c0d1008aa640e848d7606e85e0828c1cf2d Mon Sep 17 00:00:00 2001 From: Alexey Timofeyev Date: Thu, 28 Jun 2018 17:33:05 +0000 Subject: [PATCH] nvme-cli: add support of RAE Currently telemetry-log cannot retain content of corresponding log page as RAE is not set. This patch adds RAE bit support into routines to retrieve log pages. Signed-off-by: Alexey Timofeyev --- Documentation/nvme-get-log.1 | 10 ++++++++-- Documentation/nvme-get-log.html | 26 +++++++++++++++++++++----- Documentation/nvme-get-log.txt | 5 +++++ nvme-ioctl.c | 14 +++++++------- nvme-ioctl.h | 2 +- nvme.c | 8 ++++++-- 6 files changed, 48 insertions(+), 17 deletions(-) diff --git a/Documentation/nvme-get-log.1 b/Documentation/nvme-get-log.1 index f596071b..5cd47d64 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: 06/05/2018 +.\" Date: 06/28/2018 .\" Manual: NVMe Manual .\" Source: NVMe .\" Language: English .\" -.TH "NVME\-GET\-LOG" "1" "06/05/2018" "NVMe" "NVMe Manual" +.TH "NVME\-GET\-LOG" "1" "06/28/2018" "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 ] + [\-\-rae | \-r] .fi .SH "DESCRIPTION" .sp @@ -83,6 +84,11 @@ The log page offset specifies the location within a log page to start returning .RS 4 The log specified field of LID\&. .RE +.PP +\-r, \-\-rae +.RS 4 +Retain an Asynchronous Event\&. +.RE .SH "EXAMPLES" .sp .RS 4 diff --git a/Documentation/nvme-get-log.html b/Documentation/nvme-get-log.html index 665490a5..0efb56b6 100644 --- a/Documentation/nvme-get-log.html +++ b/Documentation/nvme-get-log.html @@ -1,9 +1,10 @@ + - + nvme-get-log(1)