[sheepdog] [PATCH 0/3] move sockfd to libsheepdog
Liu Yuan
namei.unix at gmail.com
Fri Jul 19 07:47:16 CEST 2013
On Fri, Jul 19, 2013 at 02:40:07PM +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.
>
> Hitoshi Mitake (3):
> util: clean work.h
> lib: move sockfd cache from sheep to lib
> collie: let collie use sockfd cache
>
> collie/collie.c | 9 +
> collie/collie.h | 2 +
> collie/common.c | 34 +--
> include/Makefile.am | 3 +-
> include/internal_proto.h | 2 +
> include/sockfd_cache.h | 23 ++
> include/work.h | 3 +
> lib/Makefile.am | 2 +-
> lib/sockfd_cache.c | 542 ++++++++++++++++++++++++++++++++++++++++++++++
> sheep/gateway.c | 10 +-
> sheep/group.c | 2 +-
> sheep/sheep.c | 2 +
> sheep/sheep_priv.h | 11 +-
> sheep/sockfd_cache.c | 509 +------------------------------------------
> 14 files changed, 616 insertions(+), 538 deletions(-)
> create mode 100644 include/sockfd_cache.h
> create mode 100644 lib/sockfd_cache.c
>
Could you use git format-patch -C to detect copy & rename?
Thanks
Yuan
More information about the sheepdog
mailing list