Whamcloud - gitweb
LU-2888 fid: still Use oi_id/oi_seq for log/lov object.
authorwang di <di.wang@intel.com>
Mon, 27 Jan 2014 03:44:48 +0000 (19:44 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 13 Apr 2013 14:24:41 +0000 (10:24 -0400)
commit725f3f8eb96203b5679da46bfc4e6d22bf1cdf9c
tree02e2eadaa9da24e143aa6762e5448652887e4b3e
parent6c7240d06d83a45dfcf622c5ceb1eb4219873112
LU-2888 fid: still Use oi_id/oi_seq for log/lov object.

Since llog are only used locally on MDS right now, so we will use
oi_id/oi_seq to identfy the log, instead of trying to convert it to
FID, to avoid confusion in ostid_to_fid/fid_to_ostid.

Since pre-2.4 use {oi_id,oi_seq} for FIDs on MDT, which make
it difficult to tell whether it is ostid or FID by only checking
oi_seq, so this patch will separate lmm_oi/FID conversion from
ostid_to_fid.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: Ie17b11a8a07ed3a44e41d5e88529541cbd33dd2f
Reviewed-on: http://review.whamcloud.com/6044
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
14 files changed:
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_log.h
lustre/liblustre/tests/sanity.c
lustre/lod/lod_lov.c
lustre/lod/lod_object.c
lustre/lov/lov_ea.c
lustre/lov/lov_merge.c
lustre/lov/lov_object.c
lustre/lov/lov_pack.c
lustre/obdecho/echo_client.c
lustre/ofd/ofd_io.c
lustre/ofd/ofd_obd.c
lustre/ptlrpc/pack_generic.c
lustre/utils/liblustreapi.c