Whamcloud - gitweb
LU-1187 out: add resend check for update.
authorWang Di <di.wang@whamcloud.com>
Mon, 11 Jun 2012 22:13:55 +0000 (15:13 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 19 Mar 2013 16:25:38 +0000 (12:25 -0400)
commitaa368474cb4de18361e875ff503a98ba479bc3c6
tree00451e178a43cf6b90e78cd657605d5d76c20167
parent4d5bc3e5e74c3c2fc01cf51570ed8cee3521fd72
LU-1187 out: add resend check for update.

1. Add update resend check between MDTs.

2. Even during creating the new object, osp_init_object
   still needs to get remote object attrs, because the
   object might be created already by some partial failed
   operation.

3. During resend handling, OSP needs to delete the existing
   orphan objects first, then do remote create.

4. MDT will check whether the name has been deleted during
   the resend of remote unlink, and only delete the local
   directory if the name on the remote MDT has been delete.

5. Fix the fail_id assignment location to only fail real
   update RPC.

6. Some fixes for replay DNE test sctipts.

Change-Id: Ia9ba8091b6622b0e2fd1f1b4fd355b5ff3eb9758
Signed-off-by: Wang Di <di.wang@intel.com>
Reviewed-on: http://review.whamcloud.com/4343
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
20 files changed:
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_update.h
lustre/include/md_object.h
lustre/include/obd_support.h
lustre/mdd/mdd_device.c
lustre/mdd/mdd_dir.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_open.c
lustre/mdt/mdt_reint.c
lustre/mdt/out_handler.c
lustre/obdecho/echo_client.c
lustre/osp/osp_md_object.c
lustre/osp/osp_object.c
lustre/ptlrpc/wiretest.c
lustre/tests/replay-dual.sh
lustre/tests/replay-single.sh
lustre/tests/test-framework.sh
lustre/utils/wirecheck.c
lustre/utils/wiretest.c