]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: lustre: obdclass: hoist locking in lu_context_exit()
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 2 May 2018 18:21:46 +0000 (14:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2018 01:47:09 +0000 (18:47 -0700)
commit369a6fec39be1f0a20293ba78e5dc604a8f1afcd
tree7670bef4b3a19a17937c0752ef77b83acbca41ae
parenta5394d488392bf062ebf84904e2dbcbe7417c5be
staging: lustre: obdclass: hoist locking in lu_context_exit()

Hoist lu_keys_guard locking out of the for loop in lu_context_exit().

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8918
Reviewed-on: https://review.whamcloud.com/24217
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@gmail.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/obdclass/lu_object.c