Whamcloud - gitweb
LU-874 ldlm: Fix ldlm_bl_* thread creation
authorChristopher J. Morrone <morrone2@llnl.gov>
Thu, 5 Jan 2012 19:49:50 +0000 (11:49 -0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 19 Jan 2012 17:31:28 +0000 (12:31 -0500)
commit3551b2cc2bbb3181bbb2afc8675cb3457215f4f5
tree4b38c648bb9b17fd6d23768596113abc3fd1814f
parent6f57184f83dc983eded15052d434e7856a7de92e
LU-874 ldlm: Fix ldlm_bl_* thread creation

Always create a new ldlm_bl_ thread when all threads
are busy, not just after returning from sleep.

Change-Id: I2fa99a0f09a42e1333589fc7bc2a6eebef4924b6
Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>
Reviewed-on: http://review.whamcloud.com/1926
Tested-by: Hudson
Reviewed-by: Jinshan Xiong <jinshan.xiong@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/ldlm/ldlm_lockd.c