[sheepdog] [PATCH 3/6] plain: clean up stale directory at startup
Liu Yuan
namei.unix at gmail.com
Sat Aug 25 03:19:02 CEST 2012
在 2012-8-25 AM8:26,"MORITA Kazutaka" <morita.kazutaka at lab.ntt.co.jp>写道:
>
> 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.
>
Yes, sure.
Yuan
> Thanks,
>
> Kazutaka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20120825/6a6527c3/attachment-0002.html>
More information about the sheepdog
mailing list