[sheepdog] [PATCH 1/3] sheep: split object_cache_rw

Liu Yuan namei.unix at gmail.com
Mon Jul 16 08:16:16 CEST 2012


On 07/16/2012 02:08 PM, Christoph Hellwig wrote:
> The other alternative would be to remove object_cache_write_int entirely
> and add a helper for the entry addition, that is both callers of
> object_cache_write_int get replaced by a:
> 
> 	ret = write_cache_object()
> 	if (ret == SD_RES_SUCCESS)
> 		object_cache_entry_alloc_and_add()
> 
> sequence.

Looks good to me, would you rebase the patch set to this change?

Thanks,
Yuan




More information about the sheepdog mailing list