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>
This commit is contained in:
Keith Busch
2014-04-29 11:41:28 -06:00
committed by Matthew Wilcox
parent 3291fa57cb
commit a7d2ce2832
3 changed files with 5 additions and 0 deletions

View File

@@ -99,6 +99,7 @@ struct nvme_dev {
u32 stripe_size;
u16 oncs;
u16 abort_limit;
u8 vwc;
u8 initialized;
};