]> www.infradead.org Git - users/sagi/libnvme.git/commit
ioctl: Set lsp to action in nvme_get_log_persistent_event
authorWen Xiong <wenxiong@linux.ibm.com>
Tue, 1 Mar 2022 21:32:18 +0000 (16:32 -0500)
committerDaniel Wagner <dwagner@suse.de>
Wed, 2 Mar 2022 07:17:27 +0000 (08:17 +0100)
commit781dfc61c6a421fb8db6b18422b33dd304dc44cf
treefc34cc6df60a84344e23b5651bc0b0bd3b23f20d
parentdb0c57751244ae50b2bc5859f3d52c3a29e41709
ioctl: Set lsp to action in nvme_get_log_persistent_event

Retrieving PEL fails because the lsp is set to NVME_LOG_LSP_NONE
instead of action:

  # nvme -persistent-event-log  -a 1 /dev/nvme0
  NVMe status: Command Sequence Error: The command was aborted due to a protocol violation in a multi- command sequence(0xc)

Signed-off-by: Wen Xiong <wenxiong@linux.ibm.com>
[dwagner: updated commit message]
Signed-off-by: Daniel Wagner <dwagner@suse.de>
src/nvme/ioctl.h