[sheepdog] [PATCH 1/3] sheep: split object_cache_rw
Christoph Hellwig
hch at infradead.org
Mon Jul 16 08:19:08 CEST 2012
On Mon, Jul 16, 2012 at 02:16:16PM +0800, Liu Yuan wrote:
> 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?
I'll do it later today.
More information about the sheepdog
mailing list