The new test for replay-single will only work for lustre
versions that contain commit
f61cec84. This patch does
lustre version checking to over failing on platforms that
are not fixed.
Change-Id: I0feffb4b3c131db68c115a111bc87a229bda23e3
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Reviewed-on: http://review.whamcloud.com/12942
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
run_test 90 "lfs find identifies the missing striped file segments"
test_93() {
run_test 90 "lfs find identifies the missing striped file segments"
test_93() {
+ local server_version=$(lustre_version_code $SINGLEMDS)
+ [[ $server_version -ge $(version_code 2.6.90) ]] ||
+ [[ $server_version -ge $(version_code 2.5.4) &&
+ $server_version -lt $(version_code 2.5.50) ]] ||
+ { skip "Need MDS version 2.5.4+ or 2.6.90+"; return; }
+
cancel_lru_locks osc
$SETSTRIPE -i 0 -c 1 $DIR/$tfile
cancel_lru_locks osc
$SETSTRIPE -i 0 -c 1 $DIR/$tfile