Whamcloud - gitweb
LU-2675 obd: decruft md_enqueue() and md_intent_lock() 50/9850/4
authorJohn L. Hammond <john.hammond@intel.com>
Fri, 28 Mar 2014 23:38:37 +0000 (18:38 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 2 May 2014 22:09:53 +0000 (22:09 +0000)
commita2877f1f6c0fd0ec5ece836a216f42af3ef913da
tree97e7809510185af4d108f38a3db74dfcf1f34885
parenta44f229bcfd8636517460788753070f8af2b0ebf
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: I5c216b24d8ac824b9487c3296f18b7a8511285e3
Reviewed-on: http://review.whamcloud.com/9850
Tested-by: Jenkins
Reviewed-by: Lai Siyao <lai.siyao@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