]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/async/Stack: disable smart thread spawn now
authorHaomai Wang <haomai@xsky.com>
Tue, 12 Jul 2016 02:16:33 +0000 (10:16 +0800)
committerHaomai Wang <haomai@xsky.com>
Tue, 16 Aug 2016 15:19:23 +0000 (23:19 +0800)
commit31833e8b488797ea956a7c877a22d74abb4df510
tree32d0b0748e4e6f0db75cfd747d3bc290a23ca687
parent4e57181b54649f1483a223a8d8f87260afff2f72
msg/async/Stack: disable smart thread spawn now

New async msgr runtime need to spawn threads when binding, but ceph-osd will
call daemon() after binding port. So we need to respawn threads if forked.

Then thread spawn delay will increase complexity for this change and it's
really a simple strategy which help less, we disable auto spawn now.

Signed-off-by: Haomai Wang <haomai@xsky.com>
src/msg/async/AsyncMessenger.cc
src/msg/async/PosixStack.h
src/msg/async/Stack.cc
src/msg/async/Stack.h