Whamcloud - gitweb
LU-7205 osp: prohibit multi inflight RPCs for same object 51/16651/2
authorNiu Yawei <yawei.niu@intel.com>
Mon, 28 Sep 2015 08:40:46 +0000 (04:40 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 2 Oct 2015 04:14:26 +0000 (04:14 +0000)
commit64df136d23a197ad1579877dbd063e789ae7b9d1
treeb0b087aa8eed7dcd4a120de9922e6eaa08cbdb2f
parentdd745f94bf0fac0d4042f46c8faba1b61d3b9fb3
LU-7205 osp: prohibit multi inflight RPCs for same object

We should prohibit multi inflight sync RPCs for the same object,
otherwise, the object could be set with stale ownership if the
RPCs arrives OST in reverse order.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I8835e493fa04fbc224b2f9840f0bb7b250d5de1d
Reviewed-on: http://review.whamcloud.com/16651
Tested-by: Jenkins
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osp/osp_internal.h
lustre/osp/osp_sync.c