Whamcloud - gitweb
LU-9010 obdclass: use static initializer macros where possible 27/24827/3
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 11 Jan 2017 17:03:45 +0000 (11:03 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 23 Mar 2017 01:41:21 +0000 (01:41 +0000)
commitd675a1fe48be5d86a3fdb9ccc9542a748cc007a0
treecc3faf2672d34be68c61ff1251d09028594ee0cb
parenteda984e7cb4e6a97310ed0f5e81f398dc48b56bf
LU-9010 obdclass: use static initializer macros where possible

In lustre/ldlm/ replace module load time initialization of several
atomics, lists, locks, mutexes, wait queues, etc with static
initialization using the kernel provided macros.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I5514992762b95fb23a154970abebd34fb65d9be2
Reviewed-on: https://review.whamcloud.com/24827
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Steve Guminski <stephenx.guminski@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lu_object.h
lustre/include/obd_class.h
lustre/obdclass/class_obd.c
lustre/obdclass/genops.c
lustre/obdclass/local_storage.c
lustre/obdclass/lu_object.c
lustre/obdclass/lu_ref.c
lustre/obdclass/lustre_handles.c
lustre/obdclass/lustre_peer.c
lustre/obdclass/obd_config.c
lustre/obdclass/obd_mount_server.c