Skip to content
Commit a5394d48 authored by Li Xi's avatar Li Xi Committed by Greg Kroah-Hartman
Browse files

staging: lustre: obdclass: change spinlock of key to rwlock



Most of the time, keys are never changed. So rwlock might be
better for the concurrency of key read.

Signed-off-by: default avatarLi Xi <lixi@ddn.com>
Signed-off-by: default avatarGu Zheng <gzheng@ddn.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6800
Reviewed-on: http://review.whamcloud.com/15558


Reviewed-by: default avatarFaccini Bruno <bruno.faccini@intel.com>
Reviewed-by: default avatarJames Simmons <uja.ornl@yahoo.com>
Reviewed-by: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cf04968e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment