]> git.ipfire.org Git - thirdparty/qemu.git/commit
nvme: implement the Flush command
authorChristoph Hellwig <hch@lst.de>
Thu, 11 Jun 2015 10:01:38 +0000 (12:01 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 14 Jul 2015 13:55:19 +0000 (15:55 +0200)
commit8b9d74e0eebb2106b767d66355d38086be72ad2b
treef8246254f1da2bf524ff673848dcb8dbd0787f63
parentf3a1b5068cea303a55e2a21a97e66d057eaae638
nvme: implement the Flush command

Implement a real flush instead of faking it.  This is especially important
as Qemu assume Write back cashing by default and thus requires a working
cache flush operation for data integrity.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/block/nvme.c
hw/block/nvme.h