Whamcloud - gitweb
LU-1187 mdd: a few missing stuff in MD stack for DNE.
authorwangdi <di.wang@whamcloud.com>
Tue, 1 Oct 2013 11:25:49 +0000 (04:25 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 3 Feb 2013 21:20:53 +0000 (16:20 -0500)
commit11b08d4ee69a242b763e5f4a34c511cb857f7868
treeb63bcc0e1ca89b580e596033603976da48721c65
parent702258c220a8d9224413f259af4a21dda9950278
LU-1187 mdd: a few missing stuff in MD stack for DNE.

1. Assign the index operation for the directory create
in declare phase, which is needed for creating the
object in OUT.

2. Declare dotdot insertion for remote directory creation,
so the insert update can be packed into RPC and send to
the remote MDT (out) to be executed.

3. Add hint to the object declare phase, by which OSP can
get some info during update RPC packing, like parent fid.

4. Separate lu_object_exists into lu_object_remote and
lu_object_exists, so it can check whether remote object
exists as well.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: Icb359443d9982ee8567af933c5def42dc51a3a7a
Reviewed-on: http://review.whamcloud.com/4930
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
20 files changed:
lustre/include/dt_object.h
lustre/include/lu_object.h
lustre/include/lustre_log.h
lustre/lmv/lmv_obd.c
lustre/lod/lod_object.c
lustre/mdd/mdd_dir.c
lustre/mdd/mdd_internal.h
lustre/mdd/mdd_object.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_lvb.c
lustre/mdt/mdt_open.c
lustre/mdt/mdt_recovery.c
lustre/mdt/mdt_reint.c
lustre/obdclass/llog_osd.c
lustre/osd-ldiskfs/osd_compat.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osp/osp_dev.c
lustre/osp/osp_internal.h