xen/blkback: Add support for BLKIF_OP_FLUSH_DISKCACHE and drop BLKIF_OP_WRITE_BARRIER.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 4 May 2011 21:07:27 +0000 (17:07 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 5 May 2011 17:43:24 +0000 (13:43 -0400)
commit24f567f952aa308c3352f3340b9d296fc72bd066
tree6cbc385ed612254b9eb0a77c0934804f85697e94
parent73d842af27b863cbc816e75003edbc287bf57130
xen/blkback: Add support for BLKIF_OP_FLUSH_DISKCACHE and drop BLKIF_OP_WRITE_BARRIER.

We drop the support for 'feature-barrier' and add in the support
for the 'feature-flush-cache' if the real backend storage supports
flushing.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkback/blkback.c
drivers/block/xen-blkback/common.h
drivers/block/xen-blkback/xenbus.c