[sheepdog] [PATCH] sheep: implement a correct detection of object cache pushing completion

Hitoshi Mitake mitake.hitoshi at gmail.com
Fri Jul 26 16:01:09 CEST 2013


At Fri, 26 Jul 2013 15:41:28 +0200,
Ing. Luca Lazzeroni - Trend Servizi Srl wrote:
> 
> Il 24/07/2013 12:46, Hitoshi Mitake ha scritto:
> > Current implementation for pushing object cache would have a bug. In
> > object_cache_push(), the variable oc->push_count is incremented in the
> > loop of queuing work. This can produce a non deterministic bug when
> > a sequence of scheduling like below happens:
> 
> Hi Hitoshi,
> I've tried to apply the patch as you suggested, but it isn't applyable 
> to sheepdog-stable since:
> 
> object_cache.c:888:1: error: ‘struct object_cache’ has no member named 
> ‘dirty_count’
> 
> Maybe code needs some refactor for succesfuly back-port it to 0.6-stable..

Hi Luca,

I updated stable-0.6 for fixing the problem of object cache. Could you
test the latest stable-0.6?

Thanks,
Hitoshi



More information about the sheepdog mailing list