[sheepdog] [PATCH 3/3] plain_store: store stale objects in .stale/[epoch]/
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Sun Aug 26 13:28:11 CEST 2012
At Sun, 26 Aug 2012 19:23:38 +0800,
Liu Yuan wrote:
>
> On 08/26/2012 06:50 PM, MORITA Kazutaka wrote:
> > int default_purge_obj(void)
> > {
> > - return for_each_object_in_wd(move_object_to_stale_dir, NULL);
> > + uint32_t tgt_epoch = sys_epoch() - 1;
> > +
>
> tgt_epoch = get_latest_epoch() to get the epoch to which the sheep has crashed into?
> I am not sure of this line thought.
Ah, yes, you are right. I'll send a patch which address it.
Thanks,
Kazutaka
More information about the sheepdog
mailing list