[Sheepdog] [PATCH] Journal support for atomic operations
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Mon Dec 27 09:12:39 CET 2010
Hi,
At Sun, 26 Dec 2010 22:38:23 +0530,
Narendra Prasad Madanapalli wrote:
>
> [1 <multipart/alternative (7bit)>]
> [1.1 <text/plain; ISO-8859-1 (7bit)>]
> This patch adds the feature of atomicity while performing vdi data object
> update/write operation.
>
> With the help of the journalling API, implemented the task of updating
> vdi object atomically in store_queue_request_local() for the
> operations SD_OP_WRITE_OBJ & SD_OP_CREATE_AND_WRITE_OBJ.
>
> Signed-off-by: Narendra <narendramind at gmail.com>
>
> sheep/sheep.c | 2 +
> sheep/sheep_priv.h | 63 ++++++++
> sheep/store.c | 433
> ++++++++++++++++++++++++++++++++++++++++++++++++++--
> 3 files changed, 486 insertions(+), 12 deletions(-)
>
Applied to the next branch after fixing coding style issues.
Thanks,
Kazutaka
More information about the sheepdog
mailing list