Whamcloud - gitweb
LU-56 ptlrpc: clean up ptlrpc svc initializing APIs
authorLiang Zhen <liang@whamcloud.com>
Wed, 23 May 2012 01:36:03 +0000 (09:36 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 11 Jun 2012 12:58:05 +0000 (08:58 -0400)
commit7a51ad347960ef2b9d1dfad14644c0bca35b80b6
tree6c4d781a50c7b49fbf5a1cac6f7170facfa6bcb4
parenta42560217562c7b00e5b680b347687f894939601
LU-56 ptlrpc: clean up ptlrpc svc initializing APIs

Both ptlrpc_init_svc and ptlrpc_init_svc_conf have long parameter list
and difficult for user, also, it doesn't make too much sense to keep
both of them. This patch will merge them to a new one
ptlrpc_register_service, and improve the structured parameter
ptlrpc_service_conf and make it more clear for user.
This is the first patch for ptlrpc service SMP improvements, more
patches depending on this will come soon.

Signed-off-by: Liang Zhen <liang@whamcloud.com>
Change-Id: I7b2932d4235fb418bee8e9d65f8b3e4f62d2849e
Reviewed-on: http://review.whamcloud.com/2878
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: wangdi <di.wang@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_net.h
lustre/ldlm/ldlm_lockd.c
lustre/mdt/mdt_handler.c
lustre/mgs/mgs_handler.c
lustre/mgs/mgs_internal.h
lustre/ost/ost_handler.c
lustre/ptlrpc/lproc_ptlrpc.c
lustre/ptlrpc/ptlrpc_module.c
lustre/ptlrpc/service.c