diff options
author | Minwoo Im <minwoo.im.dev@gmail.com> | 2019-08-04 16:50:48 +0900 |
---|---|---|
committer | Sagi Grimberg <sagi@grimberg.me> | 2019-08-29 12:55:01 -0700 |
commit | a5ef757204bab6f80268a7437556cb57744ab7d4 (patch) | |
tree | 7575a3cf1ba13a5e8863c908f8783b3447685872 /include | |
parent | c638984521f19ba218477d5ef9f10f9a6206bab6 (diff) |
nvme: trace: support for Get LBA Status opcode parsed
This patch adds Get LBA Status command's opcode to the macro that is
used by the trace feature. Now we can see "get_lba_status" instead of
the opcode value itself.
Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nvme.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h index a01277501eae..32c25b46ae63 100644 --- a/include/linux/nvme.h +++ b/include/linux/nvme.h @@ -841,7 +841,8 @@ enum nvme_admin_opcode { nvme_admin_opcode_name(nvme_admin_format_nvm), \ nvme_admin_opcode_name(nvme_admin_security_send), \ nvme_admin_opcode_name(nvme_admin_security_recv), \ - nvme_admin_opcode_name(nvme_admin_sanitize_nvm)) + nvme_admin_opcode_name(nvme_admin_sanitize_nvm), \ + nvme_admin_opcode_name(nvme_admin_get_lba_status)) enum { NVME_QUEUE_PHYS_CONTIG = (1 << 0), |