]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
RadosClient: Avoid the DispatchQueue for OSD responses.
authorsushma <sushma.gurram@sandisk.com>
Wed, 28 May 2014 22:27:54 +0000 (15:27 -0700)
committerGreg Farnum <greg@inktank.com>
Mon, 2 Jun 2014 23:29:43 +0000 (16:29 -0700)
commit884a6b374af5c08c4c8d3c5f6488f415b120a6ab
treea48ea6417208f40e7d680f5895140b10c52d0afb
parent0cc9ade824ac008f3800a8169650527305920656
RadosClient: Avoid the DispatchQueue for OSD responses.

Prior to this change, reader thread puts the response on the DispatchQueue
and Dispatcher thread would call librados callbacks (C_aio_Ack, C_Safe_Cond).
The single DispatchQueue and Dispatcher thread (per client) would become
a bottleneck with multiple OSDs in the cluster.
Similar to fast-dispatch changes on the OSD, DispatchQueue/thread are removed
and librados internal callbacks will be called from reader thread context.

Signed-off-by: Sushma Gurram <sushma.gurram@sandisk.com>
Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
src/librados/RadosClient.h [changed mode: 0644->0755]