Whamcloud - gitweb
LU-8367 osp: do not block orphan cleanup 68/23168/17
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Fri, 14 Oct 2016 17:48:50 +0000 (20:48 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 23 Dec 2016 05:04:31 +0000 (05:04 +0000)
commit2ce0d5b0640e3e440822080e407eee1ce1cafd75
treea03c5ca5b14f92b44912ff831247ba08ca6c60be
parent056783782eab03b341c464c85ce4a803508e390b
LU-8367 osp: do not block orphan cleanup

do not block orphan cleanup till all reserved objects are consumed,
otherwise we risk to get into a livelock when one blocked thread
holding reservation can block recovery. instead ask OST to recreate
possible missing objects in our precreate window.

Change-Id: I066b0783cce54d7ecd25a08da5c76f211b7244f5
Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-on: https://review.whamcloud.com/23168
Reviewed-by: Sergey Cheremencev <sergey.cheremencev@seagate.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/obd_support.h
lustre/osp/osp_internal.h
lustre/osp/osp_precreate.c
lustre/tests/recovery-small.sh
lustre/tests/sanity-lfsck.sh