NVMe: Configure support for block flush
authorKeith Busch <keith.busch@intel.com>
Tue, 29 Apr 2014 17:41:28 +0000 (11:41 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 29 May 2014 15:54:27 +0000 (09:54 -0600)
commit0a1945828ae1848cd3f92bb878b6dbbfec865fa2
tree3007c3bdd229c3c36f8e542fc23a45da0d40790b
parentb0cc487fab7ec8ef85cde8a060153f0c4d370efc
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