Whamcloud - gitweb
LU-6837 update: re-lookup the dtrq in the replay list. 73/15573/2
authorwang di <di.wang@intel.com>
Thu, 9 Jul 2015 03:11:53 +0000 (20:11 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 19 Jul 2015 04:02:38 +0000 (04:02 +0000)
commitf836ef39fba1d6884aac9ff37479cbaac6a400b4
tree6672190ae09736fd7f6ce5f2a12cee19d88df9cf
parent34f94efa4847ebd84b2fa42b7a0fc85bd7f6f8e3
LU-6837 update: re-lookup the dtrq in the replay list.

In insert_update_records_to_replay_list(), if the
dtrq request has been added to the list by another
thread, it should lookup the request in the list
again, otherwise it will cause the following sub req
lookup panic, because the current dtrq was just freed.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I766cddbe5abcd96e97a611985032208585573b43
Reviewed-on: http://review.whamcloud.com/15573
Tested-by: Jenkins
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/target/update_recovery.c