Whamcloud - gitweb
LU-2675 obd: decruft md_enqueue() and md_intent_lock() 05/10205/3
authorJohn L. Hammond <john.hammond@intel.com>
Fri, 28 Mar 2014 23:38:37 +0000 (18:38 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 14 May 2014 05:34:15 +0000 (05:34 +0000)
commit8d161d44214f907a9f2d9cf5a79cd2c83de995c3
tree52026cf1c52215a4d13aa1cb123b8f73f9ad01af
parentd46286bdfb704cc56972863cb067244b8bb6df43
LU-2675 obd: decruft md_enqueue() and md_intent_lock()

Remove the lmm and lmmsize parameters from both functions, storing
that data in md_op_data when needed. Remove the unused lookup_flags
parameter from md_intent_lock(), and the unused reqp parameter from
md_enqueue(). Add a union ldlm_policy_data * parameter to
md_enqueue(). Remove the unused function lmv_enqueue_remote().

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Ia914318a7c7cbeb59fe86d4a169559cd86f3ad57
Reviewed-on: http://review.whamcloud.com/10205
Tested-by: Jenkins
Reviewed-by: wangdi <di.wang@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
14 files changed:
lustre/include/obd.h
lustre/include/obd_class.h
lustre/liblustre/dir.c
lustre/liblustre/namei.c
lustre/liblustre/super.c
lustre/llite/file.c
lustre/llite/namei.c
lustre/llite/xattr_cache.c
lustre/lmv/lmv_intent.c
lustre/lmv/lmv_internal.h
lustre/lmv/lmv_obd.c
lustre/mdc/mdc_internal.h
lustre/mdc/mdc_locks.c
lustre/mdc/mdc_request.c