This configures an nvme request_queue as flush capable if the device has a volatile write cache present.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -73,6 +73,7 @@ enum { · 72 unmodified lines | ||
| 73 | 73 | NVME_CTRL_ONCS_COMPARE = 1 << 0, |
| 74 | 74 | NVME_CTRL_ONCS_WRITE_UNCORRECTABLE = 1 << 1, |
| 75 | 75 | NVME_CTRL_ONCS_DSM = 1 << 2, |
| 76 | + NVME_CTRL_VWC_PRESENT = 1 << 0, | |
| 76 | 77 | }; |
| 77 | 78 | |
| 78 | 79 | struct nvme_lbaf { |