nvme: trace: support for Get LBA Status opcode parsed
authorMinwoo Im <minwoo.im.dev@gmail.com>
Sun, 4 Aug 2019 07:50:48 +0000 (16:50 +0900)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 29 Aug 2019 19:55:01 +0000 (12:55 -0700)
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>
include/linux/nvme.h

index a01277501eaeb8b9b8a658855d2306aa7778f5bd..32c25b46ae639215344b67f4f0fdf5d5bc9910c9 100644 (file)
@@ -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),