[sheepdog] [PATCH v3 2/3] lib: move sockfd cache from sheep to lib
Hitoshi Mitake
mitake.hitoshi at gmail.com
Fri Jul 19 17:14:33 CEST 2013
At Fri, 19 Jul 2013 20:31:57 +0800,
Liu Yuan wrote:
>
> On Fri, Jul 19, 2013 at 03:18:23PM +0900, Hitoshi Mitake wrote:
> > On some subcommands, collie also issues lots of request to sheeps. So
> > collie can enjoy sockfd caching. For this purpose, this patch moves
> > sockfd from sheep to lib and generalize the interfaces of sockfd.
> >
> > This patch doesn't change anything related to IO nic in sockfd
> > cache. Because collie can know address nad port of IO nic and
> > potentially use them.
>
> I think you should strip out node management code. Only sheep daemon need to
> manage node.
What does "node management code" mean? sockfd_node_del() and
sockfd_cache_add_group()?
Thanks,
Hitoshi
More information about the sheepdog
mailing list