]> git.karo-electronics.de Git - mv-sheeva.git/commit
xen/blkfront: Implement FUA with BLKIF_OP_WRITE_BARRIER
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 2 Nov 2010 14:38:33 +0000 (10:38 -0400)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 2 Nov 2010 15:27:59 +0000 (11:27 -0400)
commitbe2f8373c188ed1f5d36003c9928e4d695213080
tree9cc7d9db48770b2468705d275dcefae5f26c60d1
parenta945b9801a9bfd4a98bcfd9f6656b5027b254e3f
xen/blkfront: Implement FUA with BLKIF_OP_WRITE_BARRIER

The BLKIF_OP_WRITE_BARRIER is a full ordered barrier, so we can use it
to implement FUA as well as a plain FLUSH.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Christoph Hellwig <hch@lst.de>
drivers/block/xen-blkfront.c