Skip to content

Commit

Permalink
nvme: trace: support for Get LBA Status opcode parsed
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
  • Loading branch information
minwooim authored and sagigrimberg committed Aug 29, 2019
1 parent c638984 commit a5ef757
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/linux/nvme.h
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit a5ef757

Please sign in to comment.