Whamcloud - gitweb
LU-571 ldlm: add parallel ast flow control
authorJinshan Xiong <jay@whamcloud.com>
Wed, 26 Oct 2011 19:48:17 +0000 (13:48 -0600)
committerOleg Drokin <green@whamcloud.com>
Wed, 4 Jan 2012 01:42:45 +0000 (20:42 -0500)
commit0bd27be7f20a671e7128f341a070838a2bd318dc
tree453abeede57c5d42b086a20b00a4b20a0b8c878f
parentdb35c4eabf530ee84420302e8a9d4f79c016d6e1
LU-571 ldlm: add parallel ast flow control

Commit {hash: 8c83e7d75989ef527e43a824a0dbe46bffabd07d} removed the
parallel AST limit on the server. However, if there are too many locks
to revoke, it will have to allocate too many RPCs.

Return to having an upper limit on the number of AST RPCs in flight by
adding a flow control algorithm that allows a configurable upper limit on
the number of RPCs in flight.

Change-Id: Ifb68991acf7a33119b334447aec50f7717ed546e
Signed-off-by: Jinshan Xiong <jay@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1608
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_dlm.h
lustre/ldlm/ldlm_internal.h
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_resource.c