[sheepdog] [PATCH v5 3/7] sheep: teach journal file to handle epoch and config write

Hitoshi Mitake mitake.hitoshi at gmail.com
Sun Apr 7 18:34:08 CEST 2013


At Fri,  5 Apr 2013 18:32:29 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> journal_write_epoch and journal_write_config is a placeholder for later patch.

The commit message is still obsolete.

> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
>  sheep/journal_file.c |  100 +++++++++++++++++++++++++++++++++++++++-----------
>  sheep/plain_store.c  |    7 ++--
>  sheep/sheep_priv.h   |    5 ++-
>  3 files changed, 87 insertions(+), 25 deletions(-)
> 
> diff --git a/sheep/journal_file.c b/sheep/journal_file.c
> index 4ae0e4b..d20798e 100644
> --- a/sheep/journal_file.c
> +++ b/sheep/journal_file.c
> @@ -46,6 +50,10 @@ struct journal_descriptor {
>  
>  #define JOURNAL_END_MARKER 0xdeadbeef
>  
> +#define JF_STORE 0
> +#define JF_EPOCH 1
> +#define JF_CONFI 2
> +

JF_CONFI should also be JF_CONFIG.

Thanks,
Hitoshi



More information about the sheepdog mailing list