Whamcloud - gitweb
b=23289 revert patch on 21828
authorLiang Zhen <liang@whamcloud.com>
Wed, 15 Dec 2010 15:04:30 +0000 (23:04 +0800)
committerVitaly Fertman <vitaly.fertman@oracle.com>
Fri, 17 Dec 2010 01:22:06 +0000 (04:22 +0300)
commit0ca7eb23309070f85f06f6e192395ed305c59108
tree859f76f55add23e86169b112c11584733f26a277
parent1531cbeb412a8d9c35fc5c6a26d3736cf476e4b9
b=23289 revert patch on 21828

this patch reverted change on bug 21828, because svc::srv_n_active_reqs
is dropped by ptlrpc_server_finish_request() now which is used to be
dropped by last calling of ptlrpc_server_drop_request, so recovery
thread has no refcount on svc::srv_n_active_reqs and we should just
remove these refcount changes.
This should also resovled issue of bug 21140, because logic in
ptlrpc_server_request_get() can be totally screwed up by
ptlrpc_server_active_request_inc/dec.
lustre/include/lustre_net.h
lustre/ldlm/ldlm_lib.c
lustre/ptlrpc/service.c