[sheepdog] [PATCH 1/6] sheep: redesign a new cached sockfd pool
Christoph Hellwig
hch at infradead.org
Mon Jun 25 10:43:57 CEST 2012
On Mon, Jun 25, 2012 at 05:00:31PM +0900, MORITA Kazutaka wrote:
>
> If we allow casting sd_node and sd_vnode to node_id outside
> socketfd_cache.c, it looks cleaner to use node_id for other prototypes
> too:
If you want to introduce the node_id please at least embedd it into
sd_node and sd_vnode and use container_of to access it in a type safe
manner.
More information about the sheepdog
mailing list