[sheepdog] [PATCH 3/8] object cache: rename object_cache_entry to dirty_cache_entry

Liu Yuan namei.unix at gmail.com
Tue Jul 17 04:13:49 CEST 2012


On 07/09/2012 02:29 PM, levin li wrote:
> object_cache_entry is indeed entry of dirty object cache, we should
> rename it to dirty_cache_entry, then we can use object_cache_entry
> for all the cached objects.

It is more cleaner to use a single struct for dirty entry and normal
entry, or your have to write separate tree functions and not extensible
when more complexity added in later.

Thanks,
Yuan



More information about the sheepdog mailing list