staging: lustre: ldlm: interval tree search in ldlm_lock_match()
authorVitaly Fertman <vitaly_fertman@xyratex.com>
Mon, 3 Oct 2016 02:28:32 +0000 (22:28 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:24:38 +0000 (10:24 +0200)
commitf7d5215d0afefc9c2b1573fe2980d8e3643857ee
treed6494b4e1acf80e19b6b36c31005c12021fe8ba1
parent0154672fbecd8d79ffefa659b4e67f59006e0831
staging: lustre: ldlm: interval tree search in ldlm_lock_match()

replace the linear search by interval_tree one for granted list
in ldlm_lock_match()

Signed-off-by: Vitaly Fertman <vitaly_fertman@xyratex.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5739
Xyratex-bug-id: MRP-2089
Reviewed-on: http://review.whamcloud.com/12294
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ldlm/ldlm_lock.c