Whamcloud - gitweb
LU-1506 ldlm: correct lock res build for FID on OST
authorwangdi <di.wang@whamcloud.com>
Thu, 26 Sep 2013 13:16:26 +0000 (06:16 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 28 Jan 2013 06:14:47 +0000 (01:14 -0500)
commit6127755112c62e707d4c42ada368c2cdde40149c
treec708942fb7ddef184fc72e902ea1d9ca2de4d156
parenta4a66a15fd5e9baa9c812a6d9d1f91f2ab8c51a1
LU-1506 ldlm: correct lock res build for FID on OST

Because 1.8/2.1/2.2 client always put oid to res[0] and
oseq to res[1], OFD will do the same to avoid incompatible
problems.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: Ic4cf66b1bc23631af42530787796510653f82a61
Reviewed-on: http://review.whamcloud.com/3081
Tested-by: Hudson
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_fid.h
lustre/include/obd.h
lustre/include/obd_ost.h
lustre/lov/lov_obd.c
lustre/ofd/ofd_internal.h
lustre/osc/osc_cl_internal.h
lustre/osc/osc_lock.c
lustre/osc/osc_request.c
lustre/ost/ost_handler.c