[Sheepdog] [PATCH] object cache: incorrect lock may lead to update lost

Yunkai Zhang yunkai.me at gmail.com
Sun Apr 15 15:51:23 CEST 2012


On Sun, Apr 15, 2012 at 7:50 PM, Liu Yuan <namei.unix at gmail.com> wrote:
> On 04/15/2012 06:25 PM, Liu Yuan wrote:
>
>> Another problem is that you should take account *sync* flush mode, in
>> which case, we don't need waste cpu cycles to switch and merge trees and
>> lists.
>
>
> Hmmm, for a second thought, I find that we also need two trees to
> exclude lock even for sync mode.
>
> Thanks,
> Yuan

Thanks for your elaborate comments.

I will give a v2 later.


-- 
Yunkai Zhang
Work at Taobao



More information about the sheepdog mailing list