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>
Wed, 23 Mar 2016 14:35:57 +0000 (08:35 -0600)
commitdc798d2e68df7e57cae8bb6296bb6db85a4d0858
tree3efa09137ba4630db05838519e8856e841480fed
parent8d266bd879fb655afbe1b1553ccd82c6043a19c9
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