aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2014-04-29 13:41:28 -0400
committerMatthew Wilcox <matthew.r.wilcox@intel.com>2014-05-05 10:53:53 -0400
commita7d2ce2832d84e0182585f63bf96ca7323b3aee7 (patch)
tree2de094a28cc9eae1056f83c7083ea621b021b943 /include/uapi
parent3291fa57cb1b004c1a4823beb28b5cc72555f1a5 (diff)
NVMe: Configure support for block flush
This configures an nvme request_queue as flush capable if the device has a volatile write cache present. Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/nvme.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/nvme.h b/include/uapi/linux/nvme.h
index ad9014e49693..f090336d5bad 100644
--- a/include/uapi/linux/nvme.h
+++ b/include/uapi/linux/nvme.h
@@ -73,6 +73,7 @@ enum {
73 NVME_CTRL_ONCS_COMPARE = 1 << 0, 73 NVME_CTRL_ONCS_COMPARE = 1 << 0,
74 NVME_CTRL_ONCS_WRITE_UNCORRECTABLE = 1 << 1, 74 NVME_CTRL_ONCS_WRITE_UNCORRECTABLE = 1 << 1,
75 NVME_CTRL_ONCS_DSM = 1 << 2, 75 NVME_CTRL_ONCS_DSM = 1 << 2,
76 NVME_CTRL_VWC_PRESENT = 1 << 0,
76}; 77};
77 78
78struct nvme_lbaf { 79struct nvme_lbaf {