At Tue, 3 Apr 2012 18:08:10 +0800, Liu Yuan wrote: > > 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 Kazutaka <morita.kazut...@lab.ntt.co.jp> > Cc: Stefan Hajnoczi <stefa...@gmail.com> > Signed-off-by: Liu Yuan <tailai...@taobao.com> > --- > UPDATE: use flush_fd instead of s->fd. > > block/sheepdog.c | 142 ++++++++++++++++++++++++++++++++++++++++++++++++----- > 1 files changed, 128 insertions(+), 14 deletions(-)
Thanks, looks good to me. Acked-by: MORITA Kazutaka <morita.kazut...@lab.ntt.co.jp>