[sheepdog] [PATCH 3/6] plain: clean up stale directory at startup

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Sat Aug 25 02:26:20 CEST 2012


At Fri, 24 Aug 2012 20:10:14 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> When we start up, the objects in .stale is useless. This patch also reworks the
> ->cleanup() interface to reflect the current implementation.
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
>  sheep/ops.c         |    4 +---
>  sheep/plain_store.c |    5 ++++-
>  sheep/sheep_priv.h  |    4 ++--
>  3 files changed, 7 insertions(+), 6 deletions(-)

Can you wait this patch?  I'm trying to create a patch to remove stale
objects only when object recovery is completely finished.  The patch
will greatly reduce the risk of data loss, which I think annoys many
users now.

The other patches in this series look good to me.

Thanks,

Kazutaka



More information about the sheepdog mailing list