Whamcloud - gitweb
LU-571 ldlm: Remove parallel AST limitation
authorJinshan Xiong <jay@whamcloud.com>
Thu, 11 Aug 2011 23:56:06 +0000 (16:56 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 3 Oct 2011 19:05:48 +0000 (15:05 -0400)
commit8c83e7d75989ef527e43a824a0dbe46bffabd07d
treeda0e61ec416bb26eee7c809c425e823df8fa40e8
parentc8d7c99ec50c81a33eea43ed1c535fa4d65cef23
LU-571 ldlm: Remove parallel AST limitation

Imperative Recovery needs to notify clients as soon as possible.
However, limiting the AST count to 200 will definitely block it.
This may result in the recovery window has passed before the MGS
notifies all clients.

In this patch, I revised the above limitation to be configurable,
and it is no limit by default.

Change-Id: I141da9dbd8b282a76252da15b93c432ac5253bfd
Signed-off-by: Jinshan Xiong <jay@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1190
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
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_extent.c
lustre/ldlm/ldlm_flock.c
lustre/ldlm/ldlm_inodebits.c
lustre/ldlm/ldlm_internal.h
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_plain.c
lustre/ldlm/ldlm_resource.c