Whamcloud - gitweb
LU-56 ptlrpc: CPT affinity ptlrpc RS handlers
authorLiang Zhen <liang@whamcloud.com>
Tue, 19 Jun 2012 07:56:45 +0000 (15:56 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 5 Jul 2012 15:52:13 +0000 (11:52 -0400)
commit8bbd62a7c0d2fc48d8f11e78d92bb42809968bba
treeece75d3485b0288a99e5fa716fafaa2885d6e2ba
parent9c43ca9b3e51bdb92930266c4a7dfd12059535db
LU-56 ptlrpc: CPT affinity ptlrpc RS handlers

This patch covered a couple of things:
- reimplement RS handler by using CPU partition APIs
- Instead of always round-robin choose RS handler thread, this patch
  directly choose RS handler thread on partition of rs::rs_svcpt

Signed-off-by: Liang Zhen <liang@whamcloud.com>
Change-Id: I5fdebb116630d073d41b39fc4271c4cebb429965
Reviewed-on: http://review.whamcloud.com/3135
Reviewed-by: wangdi <di.wang@whamcloud.com>
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ptlrpc/service.c