[sheepdog] [PATCH] object cache: move calc_object_bmap() out of lock

Liu Yuan namei.unix at gmail.com
Thu May 17 04:58:16 CEST 2012


On 05/16/2012 10:55 PM, Liu Yuan wrote:

> It doesn't need lock protection at all.
> 
> - remove unnecessary check against len, because it will never be 0
> - add a warning in push_cache_object() to indicate nothing to flush, if
>   this happens, we have a bug.



Applied.

Thanks,
Yuan



More information about the sheepdog mailing list