[sheepdog] [sheepdog/sheepdog] e85dee: sheep: atexit mechanism for worker threads

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Mon Feb 20 03:14:11 CET 2017


  Branch: refs/heads/cache-eventfd
  Home:   https://github.com/sheepdog/sheepdog
  Commit: e85dee3dd5a4ff02eddcfdce81fa482d657663ff
      https://github.com/sheepdog/sheepdog/commit/e85dee3dd5a4ff02eddcfdce81fa482d657663ff
  Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
  Date:   2017-02-20 (Mon, 20 Feb 2017)

  Changed paths:
    M include/work.h
    M lib/work.c

  Log Message:
  -----------
  sheep: atexit mechanism for worker threads

Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>


  Commit: 9be3ff8c34927a2c53936c53416ba7d9d89782d9
      https://github.com/sheepdog/sheepdog/commit/9be3ff8c34927a2c53936c53416ba7d9d89782d9
  Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
  Date:   2017-02-20 (Mon, 20 Feb 2017)

  Changed paths:
    M sheep/request.c

  Log Message:
  -----------
  sheep: cache eventfd for local request in thread local storage

Creating a fd must be serialized because of the minimum available fd
allocation rule of Posix, so current implementation of the local
request is bad for multicore scalability.

Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>


Compare: https://github.com/sheepdog/sheepdog/compare/e1a5b01d9d52...9be3ff8c3492


More information about the sheepdog mailing list