Whamcloud - gitweb
LU-2775 osp: enable fid-on-OST only for DNE.
authorwangdi <di.wang@whamcloud.com>
Mon, 25 Nov 2013 13:50:05 +0000 (05:50 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 14 Feb 2013 21:42:54 +0000 (16:42 -0500)
commit2adc20013d9c2a5969a3154b0ca93ac007b1a4e2
treec220b22a02f0f05acafea66620626b3fd946dd0e
parent3b527f01db1d8258810eb4a8af8a63fc63bd96b0
LU-2775 osp: enable fid-on-OST only for DNE.

1. MDT0 will only create IDIF fids, so old clients, who
only know IDIF, can still access files on MDT0.

2. Using fid_ostid_pack to pack the FID into ostid, otherwise
IDIF will be packed wrongly and caused the panic on the OST0.

3. Add dd into compatible tests of conf-sanity.sh(32) to
check OST fids on the upgrade FS.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: Ic9322bd1c66e5fedec68c10aa2f300d5ecb3b6db
Reviewed-on: http://review.whamcloud.com/5307
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_req_layout.h
lustre/include/obd_ost.h
lustre/ofd/ofd_internal.h
lustre/ofd/ofd_obd.c
lustre/osp/osp_precreate.c
lustre/ost/ost_handler.c
lustre/ptlrpc/layout.c
lustre/ptlrpc/pack_generic.c
lustre/tests/conf-sanity.sh
lustre/utils/req-layout.c