NVMe: inform block layer of write cache state
authorJens Axboe <axboe@fb.com>
Tue, 22 Mar 2016 14:47:03 +0000 (08:47 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 28 Mar 2016 15:13:12 +0000 (09:13 -0600)
commit1415f9032cbf4fd9789082e2f8fdcc235bbd1ed9
treea383f7a895be335e9b0bbbc28b0ff04fa7978038
parent1f2c1ca2b254cf338232875da62487026f304edd
NVMe: inform block layer of write cache state

This isn't quite correct, since the VWC merely states if a potential
write back cache is volatile or not. But for the purpose of write
absortion, it's good enough.

Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c