[sheepdog] [PATCH 0/3] add a new API for atomic creation and writing and let config use it
Hitoshi Mitake
mitake.hitoshi at lab.ntt.co.jp
Wed Apr 17 07:45:53 CEST 2013
Because config cannot employ the journaling mechanism, this patchset
adds a new API, atomic_create_and_write() and let the config subsystem
use it for safe update of its data.
Hitoshi Mitake (3):
journal: remove journaling support for config
util:add a new API atomic_create_and_write()
sheep: let config use atomic_create_and_write()
include/util.h | 1 +
lib/util.c | 39 +++++++++++++++++++++++++++++++++++++++
sheep/config.c | 44 ++++++++++++++++++++------------------------
sheep/journal.c | 17 -----------------
4 files changed, 60 insertions(+), 41 deletions(-)
--
1.7.2.5
More information about the sheepdog
mailing list