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
7373 NVME_CTRL_ONCS_COMPARE = 1 << 0,
7474 NVME_CTRL_ONCS_WRITE_UNCORRECTABLE = 1 << 1,
7575 NVME_CTRL_ONCS_DSM = 1 << 2,
76+ NVME_CTRL_VWC_PRESENT = 1 << 0,
7677 };
7778
7879 struct nvme_lbaf {