run_test 0b "compression types negotiation between client and MDT"
test_1a() {
+ (( $MDS1_VERSION >= $(version_code 2.14.0-ddn132) )) ||
+ skip "need MDS > 2.14.0-ddn131-15-g3e1dd9d6ae for comp add"
+
local tf=$DIR/$tfile
stack_trap "rm -f $tf; disable_compression"
enable_compression
test_fsx() {
[[ "$ost1_FSTYPE" == "ldiskfs" ]] || skip "need ldiskfs backend"
+ (( $OST1_VERSION >= $(version_code 2.14.0-ddn122) )) ||
+ skip "Need MDS >= 2.14.0-ddn121-12-g7731c7fc74 for partial read"
local osts=$(comma_list $(osts_nodes))
local dense=$(do_facet ost1 lctl get_param -n \
run_test fsx "verify dense writes with fsx on ldiskfs"
test_1001() {
- (( MDS1_VERSION >= $(version_code 2.14.0.91) )) ||
- skip "Need MDS version at least 2.14.0.91"
+ (( $OST1_VERSION >= $(version_code 2.14.0-ddn122) )) ||
+ skip "Need MDS >= 2.14.0-ddn121-12-g7731c7fc74 for partial read"
local tf=$DIR/$tfile
# We read from $tfile to this
run_test 1001 "test partial chunk reads"
test_1002() {
- (( MDS1_VERSION >= $(version_code 2.14.0.91) )) ||
- skip "Need MDS version at least 2.14.0.91"
+ (( $OST1_VERSION >= $(version_code 2.14.0-ddn122) )) ||
+ skip "Need MDS >= 2.14.0-ddn121-12-g7731c7fc74 for partial read"
local tf=$DIR/$tfile
# Larger than arm page size
run_test 1002 "test reads with incomplete chunks"
test_1003() {
- (( MDS1_VERSION >= $(version_code 2.14.0.91) )) ||
- skip "Need MDS version at least 2.14.0.91"
+ (( $OST1_VERSION >= $(version_code 2.14.0-ddn126) )) ||
+ skip "Need OST >= 2.14.0-ddn125-6-g033dd0ba2c for mmap compr"
local tf=$DIR/$tfile
local hdf=$LUSTRE/tests/AMSR_E_L3_DailyOcean_V05_20111003.hdf
run_test 1003 "mmap test for compression"
test_1004() {
- (( MDS1_VERSION >= $(version_code 2.14.0.91) )) ||
- skip "Need MDS version at least 2.14.0.91"
+ (( $OST1_VERSION >= $(version_code 2.14.0-ddn128) )) ||
+ skip "Need OST >= 2.14.0-ddn127-8-g46708e4636 for partial compr"
local tf=$DIR/$tfile
local hdf=$LUSTRE/tests/AMSR_E_L3_DailyOcean_V05_20111003.hdf
run_test 1004 "initial test for write updating"
test_1005() {
- (( MDS1_VERSION >= $(version_code 2.14.0.91) )) ||
- skip "Need MDS version at least 2.14.0.91"
+ (( $OST1_VERSION >= $(version_code 2.14.0-ddn128) )) ||
+ skip "Need OST >= 2.14.0-ddn127-8-g46708e4636 for partial compr"
local tf=$DIR/$tfile
# We read from $tfile to this
run_test 1005 "test for write updating with partial chunks"
test_1006() {
+ (( $OST1_VERSION >= $(version_code 2.14.0.128) )) ||
+ skip "Need OST >= 2.14.0-ddn127-9-g6c4c4d7599 for partial compr"
+
local tf=$DIR/$tfile
local tf2=$DIR2/$tfile
local hdf=$LUSTRE/tests/AMSR_E_L3_DailyOcean_V05_20111003.hdf
run_test 1006 "racing writes with compressed layout"
test_1007() {
- (( MDS1_VERSION >= $(version_code 2.14.0-ddn128) )) ||
- skip "Need MDS version at least 2.14.0-ddn128"
+ (( $OST1_VERSION >= $(version_code 2.14.0-ddn128) )) ||
+ skip "Need OST >= 2.14.0-ddn127-9-g6c4c4d7599 for good compr"
# The ll_compression_scan tool requires the lz4, lzop, and gzip
# utilities to be installed in order to test those compression types.