[sheepdog] [PATCH v2 0/3] sheep: writeback cache semantics in backend store

Hitoshi Mitake h.mitake at gmail.com
Sun Sep 2 04:34:44 CEST 2012


This patch series implements writeback cache semantics in backend
store of sheep. Current backend store farm and plain_store calls
open() with O_DSYNC, so every object write causes slow disk
access. This patch series try to reduce this overhead with flushing
disk cache with the invocation of SD_OP_FLUSH_VDI instead of every
object write can improve performance when a number of VMs is not so
large.

Hitoshi Mitake (3):
  sheep: change gateway_forward_request() for forwarding requests to
    all other nodes
  sheep: add new operation flush() to store_driver
  sheep: add SD_OP_SYNC_VDI and SD_OP_FLUSH_PEER for writeback cache
    semantics

 configure.ac             |    2 +-
 include/internal_proto.h |    2 +
 sheep/farm/farm.c        |    1 +
 sheep/gateway.c          |   63 ++++++++++++++++++++---------
 sheep/ops.c              |   36 ++++++++++++++++-
 sheep/plain_store.c      |   34 ++++++++++++++++
 sheep/sheep.c            |   97 ++++++++++++++++++++++++++++++++++++---------
 sheep/sheep_priv.h       |   14 ++++++-
 sheep/store.c            |    5 +-
 9 files changed, 206 insertions(+), 48 deletions(-)

-- 
1.7.5.1




More information about the sheepdog mailing list