Whamcloud - gitweb
LU-3544 fid: add a connect flag for open by FID 93/8093/5
authorLai Siyao <lai.siyao@intel.com>
Tue, 29 Oct 2013 02:37:06 +0000 (10:37 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 18 Nov 2013 12:32:08 +0000 (12:32 +0000)
commit12d2b04f2204bc087f380cb214a29c126f50d709
treefd17c6a3b77c2c50b4d8aad986a8ccd7107240e7
parente6aae309005b5765ead991af8b8007a8657ba276
LU-3544 fid: add a connect flag for open by FID

Add OBD_CONNECT_OPEN_BY_FID for open by FID, if MDS supports this
, for open by FID, it won't retry with name if object with the FID
doesn't exist; while if client supports this, client won't pack name in
open request if FID is known.

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Change-Id: I158b96e8f55fe357b3542d320e894aeca18fca94
Reviewed-on: http://review.whamcloud.com/8093
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/include/lustre/lustre_idl.h
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c