Whamcloud - gitweb
LU-6880 update: after reply move dtrq to finish list 82/15682/8
authorwang di <di.wang@intel.com>
Mon, 20 Jul 2015 17:36:52 +0000 (10:36 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 28 Aug 2015 02:07:01 +0000 (02:07 +0000)
commit2a874ec011e680f49405a7e901d8d0d35dcb4f1a
tree7e1d68c298b6c423997b925a669946ae87998649
parent9543df37cdfd35980c888440265d161e350d166d
LU-6880 update: after reply move dtrq to finish list

update replay request (dtrq) will be moved to a replay
finish list after update replay is finished, so if
client send the replay request with the same transno,
it can check if the request has been redone by update
replay.

And same as normal replay, update replay should also
update obd_next_recovery_transno.

Add 70c replay single test cases to verify this.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I2fae2a6f8264f55d069997e23a50e71b6a9f39db
Reviewed-on: http://review.whamcloud.com/15682
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lu_target.h
lustre/ldlm/ldlm_lib.c
lustre/lod/lod_dev.c
lustre/target/update_recovery.c
lustre/target/update_trans.c
lustre/tests/replay-single.sh