NVMe: Configure support for block flush
authorKeith Busch <keith.busch@intel.com>
Tue, 29 Apr 2014 17:41:28 +0000 (11:41 -0600)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Mon, 5 May 2014 14:53:53 +0000 (10:53 -0400)
commita7d2ce2832d84e0182585f63bf96ca7323b3aee7
tree2de094a28cc9eae1056f83c7083ea621b021b943
parent3291fa57cb1b004c1a4823beb28b5cc72555f1a5
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>
drivers/block/nvme-core.c
include/linux/nvme.h
include/uapi/linux/nvme.h