Whamcloud - gitweb
LU-11121 mdt: take discard lock at cleanup stage
Call mdt_dom_check_and_discard() after mdt_object_unlock() to
avoid possible deadlock if some third lock is conflicting with
both like in the scenario below:
thread1: mdt_object_lock() with some bits
thread2: take conflicting lock and wait
thread1: mdt_dom_check_and_discard() with bits conflicting
with thread2 causes deadlock.
Patch enables dom layout in racer to test it on regular basis
Another minor update uses 'trap' in related tests.
Test-Parameters: mdssizegb=20 mdtcount=1 mdscount=1 testlist=sanity-dom,dom-performance,racer,racer,racer
Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: I63bedabb4a82cfa2f01e126d35dc8c2a89d64f56
Reviewed-on: https://review.whamcloud.com/29930
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>