]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
kclient: stop using msgpools for incoming msgs
authorSage Weil <sage@newdream.net>
Thu, 20 Aug 2009 23:48:07 +0000 (16:48 -0700)
committerSage Weil <sage@newdream.net>
Thu, 20 Aug 2009 23:48:31 +0000 (16:48 -0700)
commitf155bd8c53645a5fee6221ec068e38602a9a7e67
tree071b8bea4264c747dd672567f18a9deb7e672129
parent921260a17a338e5e0329cc129155b2605d68410e
kclient: stop using msgpools for incoming msgs

Even though we may only dispatch N messages at a time (if we
have N cores), we may have many more connections, and be
reading the same message types in parallel from multiple
peers.  Msgpool_alloc blocks when teh pool is empty, which
will make the messenger thread hang, and stall forward.

Badness.

There is no easy solution here.
src/kernel/msgpool.c
src/kernel/super.c
src/kernel/super.h