Whamcloud - gitweb
LU-9259 tests: set fail_loc on the right MDT 25/26225/2
authorFan Yong <fan.yong@intel.com>
Sun, 13 Nov 2016 11:14:48 +0000 (19:14 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 19 Apr 2017 04:47:36 +0000 (04:47 +0000)
commita0a812d2b019b97356b0d6a1a8debd7d46fed00b
treeb9af52f9467c80446bebb35a82749096fbbde80f
parent89c31f6814a49a2697259ffe57e480e6653d31ee
LU-9259 tests: set fail_loc on the right MDT

In sanity test_17o, we need to set the fail_loc on the MDT on which
the target file resides. So "getstripe -M" should be done after the
file created. In further client side ldlm locks should be cancelled
before failover the MDT.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I35acefb6b7a361f25593843e1f2a097e786e5f11
Reviewed-on: https://review.whamcloud.com/26225
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/osd-ldiskfs/osd_handler.c
lustre/tests/sanity.sh