History

NVMe: Configure support for block flush

This configures an nvme request_queue as flush capable if the device has a volatile write cache present.

Keith Busch committed 12 years ago

Commit a7d2ce21 parent 3291fa53 files · +5 −0Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/nvme.h+1−0
@@ -73,6 +73,7 @@ enum { · 72 unmodified lines
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 {