Whamcloud - gitweb
LU-1396 osc: control the RPC rate between MDS and OST
authorwangdi <di.wang@whamcloud.com>
Fri, 22 Jun 2012 14:08:35 +0000 (07:08 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 28 Jun 2012 17:24:26 +0000 (13:24 -0400)
commit16278b8e4168b45a7ac3abffb1c89530442da9fc
treed7085f8de421da6f7ed7ced7e1dea7efed33f530
parent88c5beb51d24423d31fbb1f41fa5f7ab501becd2
LU-1396 osc: control the RPC rate between MDS and OST

1. Limit the RPC rate with setting 50 maxim rpc in flight between
MDS and OST.

2. Add specify flag in oa to tell whether the destory from echo_md
destory or MDT close/unlink orphan, where we can not throttle the
destory RPC, since it might block ptlrpcd thread. See Bug 16006.

Signed-off-by: Wang Di <di.wang@whamcloud.com>
Change-Id: Ie3b555eecd2716a82b058f645d002f46d8c4dd36
Reviewed-on: http://review.whamcloud.com/2899
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Bobi Jam <bobijam@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd.h
lustre/ldlm/ldlm_lib.c
lustre/mdd/mdd_dir.c
lustre/mdd/mdd_internal.h
lustre/mdd/mdd_lov.c
lustre/osc/osc_request.c