diff options
| author | Keith Busch <keith.busch@intel.com> | 2014-04-29 13:41:28 -0400 |
|---|---|---|
| committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2014-05-05 10:53:53 -0400 |
| commit | a7d2ce2832d84e0182585f63bf96ca7323b3aee7 (patch) | |
| tree | 2de094a28cc9eae1056f83c7083ea621b021b943 /include/linux | |
| parent | 3291fa57cb1b004c1a4823beb28b5cc72555f1a5 (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/linux')
| -rw-r--r-- | include/linux/nvme.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h index cfd084cab22b..6266373d3147 100644 --- a/include/linux/nvme.h +++ b/include/linux/nvme.h | |||
| @@ -99,6 +99,7 @@ struct nvme_dev { | |||
| 99 | u32 stripe_size; | 99 | u32 stripe_size; |
| 100 | u16 oncs; | 100 | u16 oncs; |
| 101 | u16 abort_limit; | 101 | u16 abort_limit; |
| 102 | u8 vwc; | ||
| 102 | u8 initialized; | 103 | u8 initialized; |
| 103 | }; | 104 | }; |
| 104 | 105 | ||
