summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinwoo Im <minwoo.im.dev@gmail.com>2019-08-04 10:50:47 +0300
committerSagi Grimberg <sagi@grimberg.me>2019-08-29 22:55:01 +0300
commitc638984521f19ba218477d5ef9f10f9a6206bab6 (patch)
treea7bf5e657fcbc39f3136a71b7a949f172540db53
parent3bec2e3754becebd4c452999adb49bc62c575ea4 (diff)
downloadlinux-c638984521f19ba218477d5ef9f10f9a6206bab6.tar.xz
nvme: add Get LBA Status command opcode
NVMe 1.4 added Get LBA Status command with opcode 0x86. Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
-rw-r--r--include/linux/nvme.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 01aa6a6c241d..a01277501eae 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -814,6 +814,7 @@ enum nvme_admin_opcode {
nvme_admin_security_send = 0x81,
nvme_admin_security_recv = 0x82,
nvme_admin_sanitize_nvm = 0x84,
+ nvme_admin_get_lba_status = 0x86,
};
#define nvme_admin_opcode_name(opcode) { opcode, #opcode }