On Tue, Apr 03, 2012 at 01:15:40PM +0800, Liu Yuan wrote:
+static int coroutine_fn sd_co_flush_to_disk(BlockDriverState *bs)
+{
+BDRVSheepdogState *s = bs-opaque;
+SheepdogObjReq hdr = { 0 };
+SheepdogObjRsp *rsp = (SheepdogObjRsp *)hdr;
+SheepdogInode *inode = s-inode;
+
From: Liu Yuan tailai...@taobao.com
Flush operation is supposed to flush the write-back cache of
sheepdog cluster.
By issuing flush operation, we can assure the Guest of data
reaching the sheepdog cluster storage.
Cc: Kevin Wolf kw...@redhat.com
Cc: Michael Tokarev m...@tls.msk.ru
Cc: MORITA