Whamcloud - gitweb
LU-8450 nodemap: modify ldlm_revoke_export_locks 20/23120/3
authorKit Westneat <kit.westneat@gmail.com>
Wed, 12 Oct 2016 22:16:14 +0000 (18:16 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 21 Oct 2016 15:00:59 +0000 (15:00 +0000)
commit449fe54db666a3ad29503a55aa0f048b5f1d6543
treea617fe56643696694c5b0ab8b4886693e89a5176
parent713b9f566b17de08174c34ebcaf90fb3eafd76d7
LU-8450 nodemap: modify ldlm_revoke_export_locks

Modify ldlm_revoke_export_locks to use cfs_hash_for_each_nolock
instead of cfs_hash_for_each_empty, to avoid looping multiple times
over the export hash.

Signed-off-by: Kit Westneat <kit.westneat@gmail.com>
Change-Id: I8ab475b8117493ed55961e94e747b4955141f003
Reviewed-on: http://review.whamcloud.com/23120
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ldlm/ldlm_lockd.c