[sheepdog] [PATCH v5 0/2] move sockfd to libsheepdog

Liu Yuan namei.unix at gmail.com
Mon Jul 29 10:27:57 CEST 2013


On Sat, Jul 27, 2013 at 10:57:33PM +0900, Hitoshi Mitake wrote:
> We will make big changes in the near future:
> 1. Improve some subcommands of collie for more
>    scalability. e.g. collie vdi list takes long time on a
>    sheepdog cluster which consists many VDIs.
> 
> 2. Let sheep and collie handle EMFILE gracefully. We will implement
>    wrappers for functions which create new fd (e.g. xopen() for
>    open()).
> 
> Before doing them, moving sockfd cache from sheep to libsheepdog is
> required. This patchset does this moving and prepares for the above
> changes.
> 
> v5:
>  - make the workqueue for cachefd growth an internal thing in
>    lib/sockfd_cache.c
>  - remove revalidate_node(), because this relies on the assumption of
>    sheep

What did you mean by remove? Sheep indeed need this function to handle corner
case.

Thanks
Yuan



More information about the sheepdog mailing list