Whamcloud - gitweb
LU-10257 clio: remove unused cl_lock layers 92/30192/2
authorJohn L. Hammond <john.hammond@intel.com>
Fri, 17 Nov 2017 21:20:02 +0000 (15:20 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 17 Dec 2017 06:20:12 +0000 (06:20 +0000)
commitf168371f40e1ebcbf380e655888530476e431421
tree13889f1c3299c147b3a646e07d0579043d549745
parent2042bcea662847c12cacdecd598b0a0d5fa4d805
LU-10257 clio: remove unused cl_lock layers

Remove the struct vvp_lock and struct lovsub_lock, omitting these
layers from cl_lock. Adjust cl_lock_enqueue() to allow for empty locks
(corresponding to unstriped files).

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Ib1478d0cfb9604540ffc38eb9b01da4f4f96212a
Reviewed-on: https://review.whamcloud.com/30192
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
12 files changed:
lustre/include/cl_object.h
lustre/llite/Makefile.in
lustre/llite/vvp_dev.c
lustre/llite/vvp_internal.h
lustre/llite/vvp_lock.c [deleted file]
lustre/llite/vvp_object.c
lustre/lov/Makefile.in
lustre/lov/lov_cl_internal.h
lustre/lov/lov_dev.c
lustre/lov/lovsub_lock.c [deleted file]
lustre/lov/lovsub_object.c
lustre/obdclass/cl_lock.c