Whamcloud - gitweb
LU-56 ptlrpc: partition data for ptlrpc service
authorLiang Zhen <liang@whamcloud.com>
Wed, 23 May 2012 06:34:18 +0000 (14:34 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 22 Jun 2012 22:08:50 +0000 (18:08 -0400)
commit24564b398f53009521aeda5d653e57fe8b525775
tree493767022f500d898b465d70e1d2621214ebdf3f
parent0081d9de639979c0d0e341ad6ded442b9043a379
LU-56 ptlrpc: partition data for ptlrpc service

We will have multiple partition data & threads for ptlrpc service,
this patch is the first step work, we moved quite a lot members
of ptlrpc_service to a new structure ptlrpc_service_part.
Now we only create one instance of ptlrpc_service_part for each
service, but we will have multiple instances for each service
very soon (instance per CPT, CPU ParTion).

Signed-off-by: Liang Zhen <liang@whamcloud.com>
Change-Id: I63d816bdf44a22528c6097fe348060f57d862df3
Reviewed-on: http://review.whamcloud.com/2895
Tested-by: Hudson
Reviewed-by: wangdi <di.wang@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
16 files changed:
lustre/include/lustre_net.h
lustre/ldlm/ldlm_lib.c
lustre/ldlm/ldlm_lockd.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_recovery.c
lustre/ost/ost_handler.c
lustre/ptlrpc/events.c
lustre/ptlrpc/lproc_ptlrpc.c
lustre/ptlrpc/niobuf.c
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/ptlrpc_internal.h
lustre/ptlrpc/ptlrpc_module.c
lustre/ptlrpc/sec.c
lustre/ptlrpc/service.c
lustre/quota/quota_context.c
lustre/quota/quota_interface.c