Whamcloud - gitweb
LU-6386 tgt: don't update client data with smaller transno 13/14113/6
authorMikhail Pershin <mike.pershin@intel.com>
Thu, 1 Oct 2015 18:34:27 +0000 (21:34 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 14 Oct 2015 04:36:37 +0000 (04:36 +0000)
commit5fa93f6011dc37fba3354137457b80151f46c66f
tree6355303f527d18747ec01899c8a1dd390621bb16
parent85c6c099d83b19480dd4160de57e7ffac5b312af
LU-6386 tgt: don't update client data with smaller transno

Fix tgt_last_rcvd_update() to don't update transaction number
in client slot with smaller value.

Also patch removes outdated code about ted_lcd == NULL case.
This is not possible now, because lcd is set to NULL only
upon export destroy. This check was needed in past when that
lcd was set to NULL during export disconnect and some activity
was still possible on this export.

Signed-off-by: Mikhail Pershin <mike.pershin@intel.com>
Change-Id: I34717ea91493785beadcf725d49c4c9265b63f7c
Reviewed-on: http://review.whamcloud.com/14113
Tested-by: Jenkins
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/target/tgt_lastrcvd.c