xen/blkfront: cope with backend that fail empty BLKIF_OP_WRITE_BARRIER requests
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 2 Nov 2010 15:55:58 +0000 (11:55 -0400)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 2 Nov 2010 17:46:46 +0000 (13:46 -0400)
commitdcb8baeceaa1c629bbd06f472cea023ad08a0c33
tree72145e182cac0705e80553565356db24a41387e6
parentbe2f8373c188ed1f5d36003c9928e4d695213080
xen/blkfront: cope with backend that fail empty BLKIF_OP_WRITE_BARRIER requests

Some(?) Xen block backends fail BLKIF_OP_WRITE_BARRIER requests, which
Linux uses as a cache flush operation.  In that case, disable use
of FLUSH.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Daniel Stodden <daniel.stodden@citrix.com>
drivers/block/xen-blkfront.c