aboutsummaryrefslogtreecommitdiff
path: root/block/raw-posix.c
diff options
context:
space:
mode:
authorLiu Yuan <tailai.ly@taobao.com>2013-01-10 16:03:47 +0800
committerKevin Wolf <kwolf@redhat.com>2013-01-14 10:06:56 +0100
commit0e7106d8b5f7ef4f9df10baf1dfb3db482bcd046 (patch)
tree1f5f6b306b7a207492df5b36caeba1657bf96677 /block/raw-posix.c
parent8e895599a1beb250ebca00e83b5fae6a828d2171 (diff)
sheepdog: implement direct write semantics
Sheepdog supports both writeback/writethrough write but has not yet supported DIRECTIO semantics which bypass the cache completely even if Sheepdog daemon is set up with cache enabled. Suppose cache is enabled on Sheepdog daemon size, the new cache control is cache=writeback # enable the writeback semantics for write cache=writethrough # enable the emulated writethrough semantics for write cache=directsync # disable cache competely Guest WCE toggling on the run time to toggle writeback/writethrough is also supported. Cc: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> Cc: Kevin Wolf <kwolf@redhat.com> Cc: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Liu Yuan <tailai.ly@taobao.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/raw-posix.c')
0 files changed, 0 insertions, 0 deletions