Whamcloud - gitweb
LU-6840 target: update reply data after update replay 76/15576/13
authorwang di <di.wang@intel.com>
Mon, 20 Jul 2015 17:45:58 +0000 (10:45 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 28 Aug 2015 02:06:54 +0000 (02:06 +0000)
commit9543df37cdfd35980c888440265d161e350d166d
tree19048c424c482f46735fe7b003db55a3e1b144ae
parent1f4d68d334c85a8106f5939351991b80449e5713
LU-6840 target: update reply data after update replay

Set correct value to tgt_session_info, so tgt_txn_stop_cb()->
tgt_last_rcvd_update() can be called during update replay, and
the reply and and last_rcvd can be updated during update
replay.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I32e5b2a7d30aecfb1a20b8d31a0054a3c28ccd50
Reviewed-on: http://review.whamcloud.com/15576
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lu_target.h
lustre/ldlm/ldlm_lib.c
lustre/obdclass/genops.c
lustre/target/tgt_lastrcvd.c
lustre/target/update_recovery.c