Whamcloud - gitweb
b=23289 grained lock for ptlrpc service
authorJian Yu <jian.yu@oracle.com>
Wed, 17 Nov 2010 02:15:26 +0000 (10:15 +0800)
committerVitaly Fertman <vitaly.fertman@sun.com>
Thu, 18 Nov 2010 22:36:20 +0000 (01:36 +0300)
commitb59c628da398cf4cf2f002e56d70b3b7d261d5c9
treefc8b706809cdc213a9062c08a9d1e3ef6331fa1b
parent7b442f1a43714455fad06c527b6fbc10f82af857
b=23289 grained lock for ptlrpc service

- cacheline optimization for struct ptlrpc_service
- split ptlrpc_service::srv_lock to three locks:
  . ptlrpc_service::srv_lock
    serialize operations on rqbd and requests queued on srv_req_in_queue
  . ptlrpc_service::srv_rq_lock
    serialized operations on active requests
  . ptlrpc_service::srv_rs_lock
    serialize operations on RS
- cleanup logic in ptlrpc_main()
- remove unused atomic srv_outstanding_replies

o=liang
i=andreas.dilger
i=mikhail.pershin
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_net.h
lustre/ldlm/ldlm_lib.c
lustre/mdt/mdt_recovery.c
lustre/ptlrpc/events.c
lustre/ptlrpc/lproc_ptlrpc.c
lustre/ptlrpc/niobuf.c
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/service.c