[sheepdog] [PATCH v3 0/2] introduce journal file to boost IO performance

Liu Yuan namei.unix at gmail.com
Mon Nov 12 06:08:43 CET 2012


From: Liu Yuan <tailai.ly at taobao.com>

v3:
 Address comments from Kazutaka.
 - zero init journal_descriptor
 - remove journal file zero filling, use 'trancate & fallocate' instead.
 - use true & false for journal_file_write()
 - fix memcpy in journal_file_write()

Liu Yuan (2):
  sheep: introduce journal file to boost IO performance
  sheep: add an option to control directio for backend store

 include/util.h       |    1 +
 sheep/Makefile.am    |    2 +-
 sheep/journal_file.c |  380 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sheep/ops.c          |   43 ++----
 sheep/plain_store.c  |   30 +++-
 sheep/sheep.c        |   64 ++++++++-
 sheep/sheep_priv.h   |    8 +-
 sheep/store.c        |    6 +-
 8 files changed, 485 insertions(+), 49 deletions(-)
 create mode 100644 sheep/journal_file.c

-- 
1.7.9.5




More information about the sheepdog mailing list